一、代码
import arcpy
arcpy.env.workspace = "F:\\NDVI\\"
rasters = arcpy.ListRasters("*", "grid")
for raster in rasters:
Rename="Re_"+raster
arcpy.Rename_management(raster, Rename, "RasterDataset...
分类:
编程语言 时间:
2014-09-06 21:20:53
阅读次数:
323
All 6 sides of a cube are to becoated with paint. Each side is is coated uniformly with one color. When a selectionof n different colors of paint is available, how many different cubes can youmake?
...
分类:
其他好文 时间:
2014-09-06 20:03:53
阅读次数:
254
edwin从发布以来, 得到了不少关注, 获得了不少star. 最近又做了一些很有意义的改进, 同时完善了部分文档. 项目地址: https://github.com/harryliu/edwin , 欢迎fork或PR, 如果喜欢, 请打star. ? 再次介绍一下edw...
分类:
编程语言 时间:
2014-09-06 18:53:14
阅读次数:
335
Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephon...
分类:
其他好文 时间:
2014-09-06 18:40:43
阅读次数:
224
这个是因为python使用MySQLdb模块与mysql数据库交互时需要一个地方作为cache放置暂存的数据,但是调用python解释器的用户(常常是服务器如apache的www用户)对于cache所指向的位置没有访问权限。解决方式有很多,这里介绍一个。创建一个文件夹并给予该文件夹对应用户w的权限(...
分类:
数据库 时间:
2014-09-06 18:31:23
阅读次数:
199
We all know about the legend oftower of Hanoi. It is said that the world will end after finishing the puzzle.What we don't know is another legend about when the world will end which is verifiedby the ...
分类:
其他好文 时间:
2014-09-06 17:26:13
阅读次数:
250
1.netstatnetstat -tnl | grep 443 (查看443端口是否被占用)root用户,用netstat -pnl | grep 443 (还可显示出占用本机443端口的进程PID)。-a (all)显示所有选项,默认不显示LISTEN相关-t (tcp)仅显示tcp相关选项-u...
分类:
Web程序 时间:
2014-09-06 17:24:13
阅读次数:
349
注意题目中的一句话:If a number m has bigger evaluating value than all the numbers smaller than it。。。这让我重新想过反素数的定义,应该 是比n小的数的约数的个数都 小于 n。所以,应该取最小的一个值#include #i...
分类:
其他好文 时间:
2014-09-06 17:21:53
阅读次数:
158
图灵智能机器人地址 http://www.tuling123.com/openapi/cloud/proexp.jsp一次偶然在某论坛发现这个玩意儿,挺好玩的,还居然有开放API,就跟微信公共账号似的,因此自己就想着捣鼓一个自己的智能及其人来玩玩。。开始构想。想用python来开发,因为调用外部AP...
1. swift的存取用curl命令. 我们先把pub url 和token保存起来root@A071103070098:~# export pubURL=http://10.194.148.102:8080/v2.0/AUTH_ed03db73438343848db63062d7fd9271roo...
分类:
编程语言 时间:
2014-09-06 16:05:53
阅读次数:
306