• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

gisoracle

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 159 下一页

2019年11月24日

arcpy 重分类

摘要: 或则 阅读全文

posted @ 2019-11-24 19:36 gisai 阅读(1023) 评论(0) 推荐(0)

pythonw.exe不能用

摘要: 其实可以直接执行python目录下的Lib/idlelib/idle.bat即可,对于非安装版的python来说开始菜单是找不到启动快捷方式的。 阅读全文

posted @ 2019-11-24 16:40 gisai 阅读(1068) 评论(0) 推荐(0)

2019年11月22日

arcpy模块下的并行计算与大规模数据处理

摘要: 一个多星期的时间,忍着胃痛一直在做GIS 540: Spatial Programming的课程项目,导致其他方面均毫无进展,可惜可惜。在这个过程当中临时抱佛脚学习了很多Python相关的其他内容,并应用在这次的项目当中(虽然大部分的尝试都失败了,也有不少问题需要之后寻求解决的方法)。在此稍微总结下 阅读全文

posted @ 2019-11-22 10:19 gisai 阅读(2029) 评论(0) 推荐(0)

Pyhton 单行、多行注释符号使用方法及规范

摘要: Pyhton 单行、多行注释符号使用方法及规范 阅读全文

posted @ 2019-11-22 08:51 gisai 阅读(962) 评论(0) 推荐(0)

2019年11月15日

NumPyArray

摘要: import arcpy import numpy # Create a simple array from scratch using random values myArray = numpy.random.random_integers(0,100,2500) myArray.shape = (50,50) # Convert array to a geodatabase raster... 阅读全文

posted @ 2019-11-15 22:09 gisai 阅读(186) 评论(0) 推荐(0)

2019年11月8日

python 日期

摘要: python datetime库使用和时间加减计算 来自:https://www.cnblogs.com/linkenpark/p/8079337.html datetime库使用 一、操作当前时间 1.获取当前时间 >>> import datetime >>> print datetime.da 阅读全文

posted @ 2019-11-08 19:36 gisai 阅读(224) 评论(0) 推荐(0)

关于解决'\u'开头的字符串转中文的方法

摘要: 如果字符串是”\u70ed\u95e8\u94ed\u6587\u63a8\u8350”这种形式的字符串: python3的解决办法:字符串.encode(‘utf-8’).decode(‘unicode_escape’) python2:字符串.decode(‘unicode_escape’) 转 阅读全文

posted @ 2019-11-08 19:03 gisai 阅读(2273) 评论(0) 推荐(0)

2019年11月7日

python 输出‘\xe8\xb4\x9d\xe8\xb4\x9d’, ‘\xe6\x99\xb6\xe6\x99\xb6’, ‘\xe6\xac\xa2\xe6\xac\xa2’]

摘要: 如上代码块,结果输出为: [‘\xe8\xb4\x9d\xe8\xb4\x9d’, ‘\xe6\x99\xb6\xe6\x99\xb6’, ‘\xe6\xac\xa2\xe6\xac\xa2’] 北京欢迎您! 该怎么解决以上pycharm中的中文列表输出的编码问题呢? 其实,只需将代码中的‘prin 阅读全文

posted @ 2019-11-07 22:31 gisai 阅读(1075) 评论(0) 推荐(0)

Python ( )、[ ]、{}的区别

摘要: python语言最常见的括号有三种,分别是:小括号( )、中括号[ ]和大括号也叫做花括号{ },分别用来代表不同的python基本内置数据类型。 如果要创建一个字典列表,如下: 阅读全文

posted @ 2019-11-07 20:14 gisai 阅读(3477) 评论(0) 推荐(0)

2019年11月4日

arcpy SearchCursor sql_clause

摘要: import arcpy fc = 'c:/data/base.gdb/well' fields = ['WELL_ID', 'WELL_TYPE'] # Use ORDER BY sql clause to sort field values for row in arcpy.da.SearchCursor( fc, fields, sql_clause=(None, 'ORD... 阅读全文

posted @ 2019-11-04 08:07 gisai 阅读(704) 评论(0) 推荐(0)

上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 159 下一页
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3