您的位置:首页 > 编程语言 > Python开发

windows下开发python需要注意的几点

2014-10-13 15:16 429 查看
今天被开发环境郁闷了好多次,总结几点注意:

1. python能用2就用2,目前用python3有各种不靠谱

2. eclipse用python3 不能调试,需要注意:



This is the real answer to the question:

Python 3.4 brings the library xmlrpc, which replaces old xmlrpclib.

So, if you have installed Python 3.4 on Windows and you want to use xmlrpclib (probably as a client side), don't write anymore this:
import xmlrpclib


Replace that with this line:
from xmlrpc import client


And replace every match of xmlrpc in the rest of your code with client.



3. python有32位和64位不同版本,如果可以,尽量用32位的。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: