Install Python + Eric IDE
Install Python Eric IDE
1 Download following things
1) Python3.1
2) PyQt for python 3.1
(http://www.riverbankcomputing.co.uk/software/pyqt/download) I am using
PyQt-Py3.1-gpl-4.7.3-2.exe
3) Eric5 IDE
(http://eric-ide.python-projects.org/eric-download.html)
2 Install python3.1
3 Install PyQt
4 Extract eric5 zip and run install.py, it will generate more file in
the eric5 folder, run eric4.bat to start eric5 IDE
5 The first time you run eric, configuration window will popup.
1) select "APIs" node,
select "Compile APIs automatically", select "python" in the
"language" list, click "Add from installed APIs", and then
select "eric5.api", and then click "Compile APIs", click "Apply"
finally.
2) select
"Autocompletion" node, select "Autocompletion Enabled",
"Case sensitive" and "Replace word"
3) select "Autocompletion
> QScintilla" node, select "from Document and API files"
4) click "OK"
6 Restart Eric 5 IDE
相关文档:
假设你你的操作系统是WinXP:
开始菜单-> 运行-> cmd
然后就可以敲命令了。
如果你用IDLE,可以用IDLE打开这个.py文件,然后在菜单 "Run "下有一项 "Run Module ",点击即可。 ......
Python中reactor,factory,protocol的学习笔记
最为简单的情况下,除了了解清reactor的简单使用,你还要了解Protocol和Factory。它们最终都会由reactor的侦听建立和run来统一调度起来。
建立服务器的第一个要解决的问题就是服务与外界的交流协 ......
编译了一个windows下的python3连接Mysql的库
mypysql
版本是 0.5.1 ,根据官方的修改日志,这个版本修改了0.5中一个内存泄漏问题。
源代码和编译后的文件为:
http://211.147.215.55/down/mypysql-0.5.1-win.zip
mypysql的官方地址 https://sourceforge.net/projects/mypysql/
......