【发布时间】:2010-09-28 04:32:16
【问题描述】:
64 位 Vista 蟒蛇2.6 IPython 0.10 还有 Python 2.7 和 3.1
我的 ipy_user_conf.py 有显示如何设置编辑器的示例行。我试过了
ipy_editors.idle()
但是
[C:Python26/脚本] |4>ed xxx.py 正在编辑... > C:\Python26\lib\idlelib/idle.py "xxx.py"
为 Python 3.1 打开 IDLE,但不打开 xxx.py。
我接下来在ipy_user_conf.py中模仿了一个示例行,
ipy_editors.scite('c:/opt/scite/scite.exe')
作为
ipy_editors.idle("c:/Python26/Lib/idlelib/idle.pyw")
但是
[C:Python26/脚本] |4>ed xxx.py 正在编辑... > c:/Python26/Lib/idlelib/idle.pyw "xxx.py"
在 IDLE for Python 3.1 中打开文件 c:/Python26/Lib/idlelib/idle.pyw
我的想法已经用完了。建议,请。
顺便说一句,运行 xxx.py 工作正常。
【问题讨论】: