会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
xurui
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
2016年5月8日
golang ubuntu 安装
摘要: 在ubuntu上安装golang, 并编写“hello world” 程序
阅读全文
posted @ 2016-05-08 20:47 xurui
阅读(532)
评论(0)
推荐(0)
2013年6月28日
bat 获取当前文件夹路径
摘要: bat 获取当前文件夹路径 1, 当前文件夹的路径 有两种方法 "%~dp0" and "%cd%" ,区别在于cd输出没有最后“\” 2, Set 后面字符串不能有空格,如 file = ... 3, 加上引号防止路径中有空格 cur_dir = "%~dp0"cur_dir2 = "%cd%"e
阅读全文
posted @ 2013-06-28 13:57 xurui
阅读(1945)
评论(0)
推荐(0)
re module
摘要: import re p = re.compile("[a-z]+") m = p.match("lsdjf") m.group() re 方法/属性 match() 决定 RE 是否在字符串刚开始的位置匹配 search() 扫描字符串,找到这个 RE 匹配的位置 findall() 找到 RE 匹
阅读全文
posted @ 2013-06-28 13:57 xurui
阅读(227)
评论(0)
推荐(0)
2013年6月18日
python xml
摘要: 1 from xml.etree.ElementTree import ElementTree,Element 2 3 def read_xml(in_path): 4 tree = ElementTree() 5 tree.parse(in_path) 6 return tree 7 8 def write_xml(tre...
阅读全文
posted @ 2013-06-18 17:23 xurui
阅读(256)
评论(0)
推荐(0)
py2exe
摘要: py2exe download: http://sourceforge.net/projects/py2exe/files/py2exe/0.6.9/ 参考: http://www.cnblogs.com/jans2002/archive/2006/09/30/519393.html setup.p
阅读全文
posted @ 2013-06-18 17:03 xurui
阅读(215)
评论(0)
推荐(0)
python 操作 excel
摘要: python 操作 excel comtypes pywin32 win32com
阅读全文
posted @ 2013-06-18 15:48 xurui
阅读(652)
评论(0)
推荐(0)
上一页
1
2
公告