![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
文章平均质量分 72
江南老画船
这个作者很懒,什么都没留下…
展开
-
python安装第三方插件出现的错误
解决unicodedecodeerror ascii codec can’t decode byte 0xd7 in position 9 ordinal not in range(128) 在Windows平台下,安装python模块时,报如下错误: UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in转载 2016-07-11 09:37:27 · 1240 阅读 · 0 评论 -
python使用
1 同文件夹下调用python类 假如xx文件夹下有A.py,B.py,类名分辨为A,B 在A.py中使用B类为: from B import B temp=B() temp.f() 2.sqlserver查看本机的连接地址:一般默认本机计算机名\实例名 如果需要远程访问,需要开启TCPIP,,开启远程访问。原创 2016-07-12 09:52:34 · 293 阅读 · 0 评论 -
python的模块导入
http://www.cnitblog.com/seeyeah/archive/2009/03/15/55440.html Python包含子目录中的模块方法比较简单,关键是能够在sys.path里面找到通向模块文件的路径。 下面将具体介绍几种常用情况: (1)主程序与模块程序在同一目录下: 如下面程序结构: `-- src |-- mod1.py `-- t转载 2016-07-14 11:03:48 · 377 阅读 · 0 评论 -
python使用stomp连接activemq
python使用stomp连接activemq 本篇内容为大家提供的是python使用stomp连接activemq和stomp简介,详细而全面,感兴趣的朋友,可以参考学习一下。 STOMP即Simple (or Streaming) Text Orientated Messaging Protocol,简单(流)文本定向消息协议,它提供了一个可互操作的连转载 2016-07-05 16:41:30 · 15190 阅读 · 2 评论 -
python使用cxfreeze打包
1.下载cxfreeze,或者通过pycharm下载 2.配置打包文件 import sys from cx_Freeze import setup, Executable # Dependencies are automatically detected, but it might need fine tuning. build_exe_options = {"packages原创 2016-07-19 14:49:22 · 1741 阅读 · 0 评论 -
python ConfigParser
http://www.codesky.net/article/201003/122500.html http://www.linuxso.com/linuxbiancheng/8987.html 以下的文章就是对Python 读写配置文件的具体方案的介绍 1,函数介绍 1.1.读取配置文件 -read(filename) 直接读取ini文件内容 -sec转载 2016-07-20 15:20:21 · 257 阅读 · 0 评论 -
shpfexcel
# coding=utf-8 import xlrd import sys reload(sys) sys.setdefaultencoding('utf-8') data=xlrd.open_workbook('c:/Identity.xlsx') data.sheet_names() table=data.sheet_by_name('Identity') nrows=table.nrows原创 2016-12-11 23:16:32 · 359 阅读 · 0 评论