Arcpy 第一个函数式的写法[纪念]
2014-06-11 15:21
555 查看
import arcpy def MDBToSHP(inMdb, outPath): arcpy.env.workspace = inMdb outLocation = outPath fcs = arcpy.ListFeatureClasses() fcCount = len(fcs) for fc in fcs: # Copy the features from the workspace to a folder arcpy.FeatureClassToShapefile_conversion(fc, outLocation) print fc print fcCount inMDB = r"D:\07\07.mdb" outLocation = r"D:\07" MDBToSHP(inMDB, outLocation)上一篇博客中有相似的非函数式的写法
相关文章推荐
- 纪念一下我的第一个操作系统
- python3.x 纪念写的第一个爬虫
- 人生的第一个MakeFile贴出来纪念一下
- 第一个offer,纪念一下
- 为了忘却的纪念----开始从操就业的第一个SHELL程序
- 发篇文章纪念我死去的第一个机试---重庆地区华为机试
- 哈哈。 我的第一个andriod程序(hello andriod),纪念一下
- 第一个.bat批量文件的写法(文件打开和文件下载)
- 关于dao得一些使用问题,以备忘....也用来纪念自己解决得第一个内存泄漏问题
- 行转列函数式调用写法(学习)
- 自己写的第一个视图(为了纪念)
- 纪念一下我的第一个小程序(五子棋)
- 发篇文章纪念我死去的第一个机试---重庆地区华为机试
- 【hdu 2544】 最短路 (dijkstra 写的第一个最短路,也是dijkstra算法,纪念一下)
- 在一个字符串中找到第一个只出现一次的字符(毒辣写法)
- zoj 1001纪念我的第一个java ACM题
- 纪念第一个shell脚本
- 我的第一个JS程序(像C/C++的程序)。。发来纪念一下
- 【2015/5/13】还有十天软考了。。+纪念我的第一个关注者
- 纪念我的第一个Python爬虫——图片