1. startup pythonpath support
User now can set pythonpath in config.ini, so that UliPad can insert
it into sys.path when starting. For example:
config.ini content
----------------------------
[default]
pythonpath = d:\path1,c:/path2
or
pythonpath = "d:\\path1","c:/path2"
pythonpath can be a path list or a single path. You can always end the
string with ',', that's will be a list.
2. move winpdb from modules folder to a new folder packages, and this
folder will be insert into sys.path when starting. Because when you
want to use winpdb, ulipad will execute via wx.Execute(), so winpdb
will be executed as a process but not a real module. If you are using
exe version, all files in modules will be compressed into libzip file,
and ulipad will not find the exist file path to run _winpdb.py. So I
create a new directory packages, and this folder will not be
compressed into zip file, just like a data folder. So I can put
packages with resource files in this folder. And for exe version, I
also add prompt about "Need set Python interrupter, and install
wxPython packages" messages. So source version maybe the best choise
for my eyes.
3. print improvement(I'v post it before)
Now you can set if you want to print linenumber. And the print result
will have header and footer.
4. Add Shift+Delete => Cut, Shift+Insert => Paste
User now can set pythonpath in config.ini, so that UliPad can insert
it into sys.path when starting. For example:
config.ini content
----------------------------
[default]
pythonpath = d:\path1,c:/path2
or
pythonpath = "d:\\path1","c:/path2"
pythonpath can be a path list or a single path. You can always end the
string with ',', that's will be a list.
2. move winpdb from modules folder to a new folder packages, and this
folder will be insert into sys.path when starting. Because when you
want to use winpdb, ulipad will execute via wx.Execute(), so winpdb
will be executed as a process but not a real module. If you are using
exe version, all files in modules will be compressed into libzip file,
and ulipad will not find the exist file path to run _winpdb.py. So I
create a new directory packages, and this folder will not be
compressed into zip file, just like a data folder. So I can put
packages with resource files in this folder. And for exe version, I
also add prompt about "Need set Python interrupter, and install
wxPython packages" messages. So source version maybe the best choise
for my eyes.
3. print improvement(I'v post it before)
Now you can set if you want to print linenumber. And the print result
will have header and footer.
4. Add Shift+Delete => Cut, Shift+Insert => Paste
UliPad 新特性介绍
本次更新包括:1. 用户可以在配置文件中设置 Python 路径,方便启动时自动加入到 sys.path 中;2. 将 winpdb 移动到新的 packages 文件夹,并将其路径加入启动时的 sys.path 中;3. 打印功能改进,增加了页眉和页脚选项,用户可以设置是否打印行号;4. 添加 Shift+Delete 切除、Shift+Insert 粘贴快捷键。
1283

被折叠的 条评论
为什么被折叠?



