PyScripter是一个使用Delphi开发的开源的Python集成开发环境(IDE),发布于MIT协议之下。[1]
PyScripter支持Python2.4、2.5、2.6、2.7、3.0、3.1、3.2,而且可以根据需要切换。
PyScripter分32和64为两种,安装时需要对应python的位数,与操作系统无关。
即:32位python对应32位pyScripter。64位类似
常见错误2:ascii错误
修改:安装目录下lib\site.pydef setencoding():
"""Set the string encoding used by the Unicode implementation. The
default is 'ascii', but if you're willing to experiment, you can
change this."""
encoding = "ascii" # Default value set by _PyUnicode_Init()
if 1: #此处 把"if 0" 修改为 "if 1"
# Enable to support locale aware default string encodings.
import locale
loc = locale.getdefaultlocale()
if loc[1]:
encoding = loc[1]
另附两个下载地址:
PyScripter_x86:
PyScripter_x64: