摘要: 1)module.__version__2)用dir(module)查看有没有版本信息3)help(module) 阅读全文
posted @ 2015-06-11 15:07 圆旭 阅读(1357) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.algorithm.co.il/blogs/computer-science/10-python-optimization-tips-and-issues/ 阅读全文
posted @ 2015-06-11 10:58 圆旭 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 到https://www.google.com/chrome/browser/desktop/index.html可下载指定版本的deb文件。32bit: wgethttps://dl.google.com/linux/direct/google-chrome-stable_current_i386... 阅读全文
posted @ 2015-06-11 10:07 圆旭 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 转自: http://blog.csdn.net/longerzone/article/details/32119457http://www.oschina.net/translate/10-virtualbox-tricks-and-advanced-features-you-should-kno... 阅读全文
posted @ 2015-06-10 16:42 圆旭 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 官网链接:http://ovx.onlab.us/getting-started/installation/step1:System requirements:Recommended4 Cores4 GB java heap sizeMinimum2 Cores1 GB java heap size... 阅读全文
posted @ 2015-06-10 09:57 圆旭 阅读(662) 评论(0) 推荐(1) 编辑
摘要: 可把shell命令批处理写进filename.sh文件然后执行 chmod +x filename.sh就可以执行./filename.sh了 阅读全文
posted @ 2015-06-09 10:36 圆旭 阅读(1167) 评论(0) 推荐(0) 编辑
摘要: from datetime import *format = "%Y-%m-%d %H:%M:%S"a=datetime.now()day=a.dayb=a.replace(day=day+1)s=b.strftime(format)#datetime类型转化成 string类型expire_tim... 阅读全文
posted @ 2015-06-05 20:24 圆旭 阅读(1046) 评论(0) 推荐(0) 编辑
摘要: 官网地址: https://www.dropbox.com/install?os=lnx自己的系统如果没有设置全局翻(qiang)代理,使用deb文件安装后不能直接使用,因为还需要到官网安装proprietary daemon等。可以使用自己代理+命令行的方式安装:官网的方法如下:32-bit:cd... 阅读全文
posted @ 2015-06-05 09:21 圆旭 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 1) 安装sudo apt-get install mysql-serversudo apt-get install python-mysqldb2) 使用import MySQLdbdef get_db_connector(): return MySQLdb.connect(host='lo... 阅读全文
posted @ 2015-05-26 12:02 圆旭 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 转自:1)http://specs.openstack.org/openstack/keystone-specs/api/v3/identity-api-v3.html#unauthorized 2)http://openq.cn/http-statuscode-status-code-2003... 阅读全文
posted @ 2015-05-21 09:44 圆旭 阅读(897) 评论(0) 推荐(0) 编辑