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

今天被开发环境郁闷了好多次,总结几点注意:

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位的。

你可能感兴趣的:(windows下开发python需要注意的几点)