How to compile pycrypto 2.4.1 (python 3.2.2 for Windows 7 x64) Nov 10 Posted by alesk This note is a variation of note that talks about compiling cx_Oracle module for python 3.2 (64-bit), but this time around I wanted to try out pycrypto module v2.4.
写的非常好,可以解决问题: windows下:http://blog.csdn.net/wklken/article/details/7253245 linux下:http://blog.csdn.net/wklken/article/details/7271019 另外,这篇作为总体配置方案非常好:http://lbxhappy.iteye.com/blog/816074 MySQL for python编译好的版本,下载列表,:http://www.codegood.com/download
由于公司现阶段大多数应用软件都是基于Windows系统开发和部署,很多软件安装部署都是在windows server 2012.windows server 2008之类的服务器上,部门同事每次测试一轮迭代或者系统测试后,在写测试报告时都需要在报告中写上测试的服务器硬件配置,如CPU.操作系统版本.内存.磁盘等,需要去远程服务器然后在服务器上各种查看服务器配置,比较浪费时间.最近学习了Python相关的知识,发现使用PYWIN32+WMI模块可以获取windows系统基本信息,并安装pyinst
使用python的unittest编写单元测试框架,批量运行测试用例时,如果使用discover时,windows环境下和linux环境下的代码不一样 Windows环境的run.py代码: casedir = "../cases" discover_test = unittest.defaultTestLoader.discover(casedir,pattern='test_*.py') suite = unittest.TestSuite() for c in discover_