2005年04月26日 星期二 02:00
推荐使用 eclipse + pydev 虽然还是0.9.3但是功能已经很完整了 1.0的功能更加诱人了 * * All Features (release 0.9.3): Pydev is composed of three plug-ins: Editor (org.python.pydev): Ctrl+Shift+O: Organizes imports or sorts selection alphabetically Ctrl+Shift+F: Autoformat your code (preferences can be set) Python 2.4 syntax supported PyDev builders can be disabled Syntax highlighting Matching brackets highlighted. Parser errors marked in the task list Outline view with imports/functions/classes Tabs or spaces preference Smart indentation Navigation: keyboard shortcuts to previous or next function. *Default: (Ctrl+Shift+Up and Ctrl+Shift+Down) * Comment and uncomment commands (on the popup menu) and keybindings. *Default: (Ctrl+3 and Ctrl+Shift+3) * hyperlinks over functions//import statements Code folding Refactoring <http://pydev.sourceforge.net/refactoring.html> with bicycle repair man <http://bicyclerepair.sourceforge.net/>. Code Completion <http://pydev.sourceforge.net/codecompletion.html> *(Ctrl+Space) * Templates Completion *(Ctrl+Space Too) * Go to definition with *F3* (powered by bicycle repair man<http://bicyclerepair.sourceforge.net/>) Content Assistant <http://pydev.sourceforge.net/contentassist.html> * (Ctrl+1)* Code Coverage <http://pydev.sourceforge.net/codecoverage.html> Pylint <http://pydev.sourceforge.net/pylint.html> TODO tasks <http://pydev.sourceforge.net/tasks.html> Background and current line color chooser. Debugger (org.python.pydev.debug) Watch Breakpoints Step in/out/over Multiple threads Variable display File hyperlinks in the console output (you can click on stack traces) Help ( org.python.pydev.help) Brief documentation in Eclipse format. *Target for 1.0.* Code Completion (already finished, anything missing, please report as bug!) Make some content assistants to help in TDD (aka Java ones). Make the configurations easier... specifying the PYTHONPATH twice is an awful idea. * After 1.0 * Quick outline (like java does - it seems that eclipse is working on support for plugins) Package explorer (probably similar to java) Interactive shell (probably with IPython) Wizards (create class / module) Improve the pyunit integration. Jython integration. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20050426/2ce529b9/attachment.htm
2005年04月26日 星期二 02:13
功能很强啊,不过还是等等看,在加个512内存之后玩eclipse比较好。现在还是用emacs先凑合。我在windows平台用emacs,有两个问题编辑不了utf8,unicode。 另外一个就是不知道怎么在emacs中调试。有没有达人可以指点一下 On 4/26/05, fla liu <fla.liu at gmail.com> wrote: > 推荐使用 > > eclipse + pydev > > 虽然还是0.9.3但是功能已经很完整了 1.0的功能更加诱人了 > > All Features (release 0.9.3): > > Pydev is composed of three plug-ins: > Editor (org.python.pydev): > Ctrl+Shift+O: Organizes imports or sorts selection alphabetically > Ctrl+Shift+F: Autoformat your code (preferences can be set) > Python 2.4 syntax supported > PyDev builders can be disabled > Syntax highlighting > Matching brackets highlighted. > Parser errors marked in the task list > Outline view with imports/functions/classes > Tabs or spaces preference > Smart indentation > Navigation: keyboard shortcuts to previous or next function. Default: > (Ctrl+Shift+Up and Ctrl+Shift+Down) > Comment and uncomment commands (on the popup menu) and keybindings. Default: > (Ctrl+3 and Ctrl+Shift+3) > hyperlinks over functions//import statements > Code folding > Refactoring with bicycle repair man. > Code Completion (Ctrl+Space) > Templates Completion (Ctrl+Space Too) > Go to definition with F3 (powered by bicycle repair man) > Content Assistant (Ctrl+1) > Code Coverage > Pylint > TODO tasks > Background and current line color chooser. > Debugger (org.python.pydev.debug) > Watch > Breakpoints > Step in/out/over > Multiple threads > Variable display > File hyperlinks in the console output (you can click on stack traces) > Help (org.python.pydev.help) > Brief documentation in Eclipse format. > > Target for 1.0. > Code Completion (already finished, anything missing, please report as bug!) > Make some content assistants to help in TDD (aka Java ones). > Make the configurations easier... specifying the PYTHONPATH twice is an > awful idea. > > After 1.0 > Quick outline (like java does - it seems that eclipse is working on support > for plugins) > Package explorer (probably similar to java) > Interactive shell (probably with IPython) > Wizards (create class / module) > Improve the pyunit integration. > Jython integration. > > _______________________________________________ > python-chinese list > python-chinese at lists.python.cn > http://python.cn/mailman/listinfo/python-chinese > > >
2005年04月26日 星期二 11:39
我在eclipse3.02环境下,该插件无法正确安装,很奇怪 05-4-26,Hou Ming Yuan <houmingyuan at gmail.com> 写道: > > > 功能很强啊,不过还是等等看,在加个512内存之后玩eclipse比较好。现在还是用emacs先凑合。我在windows平台用emacs,有两个问题编辑不了utf8,unicode。 > 另外一个就是不知道怎么在emacs中调试。有没有达人可以指点一下 > > On 4/26/05, fla liu <fla.liu at gmail.com> wrote: > > 推荐使用 > > > > eclipse + pydev > > > > 虽然还是0.9.3但是功能已经很完整了 1.0的功能更加诱人了 > > > > All Features (release 0.9.3): > > > > Pydev is composed of three plug-ins: > > Editor (org.python.pydev): > > Ctrl+Shift+O: Organizes imports or sorts selection alphabetically > > Ctrl+Shift+F: Autoformat your code (preferences can be set) > > Python 2.4 syntax supported > > PyDev builders can be disabled > > Syntax highlighting > > Matching brackets highlighted. > > Parser errors marked in the task list > > Outline view with imports/functions/classes > > Tabs or spaces preference > > Smart indentation > > Navigation: keyboard shortcuts to previous or next function. Default: > > (Ctrl+Shift+Up and Ctrl+Shift+Down) > > Comment and uncomment commands (on the popup menu) and keybindings. > Default: > > (Ctrl+3 and Ctrl+Shift+3) > > hyperlinks over functions//import statements > > Code folding > > Refactoring with bicycle repair man. > > Code Completion (Ctrl+Space) > > Templates Completion (Ctrl+Space Too) > > Go to definition with F3 (powered by bicycle repair man) > > Content Assistant (Ctrl+1) > > Code Coverage > > Pylint > > TODO tasks > > Background and current line color chooser. > > Debugger (org.python.pydev.debug) > > Watch > > Breakpoints > > Step in/out/over > > Multiple threads > > Variable display > > File hyperlinks in the console output (you can click on stack traces) > > Help (org.python.pydev.help) > > Brief documentation in Eclipse format. > > > > Target for 1.0. > > Code Completion (already finished, anything missing, please report as > bug!) > > Make some content assistants to help in TDD (aka Java ones). > > Make the configurations easier... specifying the PYTHONPATH twice is an > > awful idea. > > > > After 1.0 > > Quick outline (like java does - it seems that eclipse is working on > support > > for plugins) > > Package explorer (probably similar to java) > > Interactive shell (probably with IPython) > > Wizards (create class / module) > > Improve the pyunit integration. > > Jython integration. > > > > _______________________________________________ > > python-chinese list > > python-chinese at lists.python.cn > > http://python.cn/mailman/listinfo/python-chinese > > > > > > > > _______________________________________________ > python-chinese list > python-chinese at lists.python.cn > http://python.cn/mailman/listinfo/python-chinese > > > -- 茫茫人海,你是我的最爱 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20050426/f5769ffb/attachment.html
2005年04月26日 星期二 13:26
怎么个不能安装法?说具体点。我是用的3.0.1,复制过去就成了。下了中文包,还可以,就是我在UltraEdit中输入的中文注释,在Eclipse中打开就成乱码了。UltraEdit中用的是Utf-8,在Eclipse中也是一样的,还是UltraEdit好些,现在配合pythonwin用,还好。
2005年04月26日 星期二 15:50
PSP模块中,post或者get值用form接受,form的数据类型是什么 我写的函数: def post(self,post,form): global v_post v_post=dict() key=post.keys() form=dict(form) for i in key: if form.has_key(i): v_post[i]=self.typeVal(form[i].value,post[i]) else: v_post[i]=post[i] return v_post 其中form是传递的值,post是初始值,为什么返回的v_post在页面中不能使用?提示错 误“TypeError: iteration over non-sequence”其中v_post为dict类型,它里边的值 为str类型 _________________________________________________________________ 享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com
2005年04月26日 星期二 16:56
python中,include一个文件的语法是什么?我找了半天没找到,大家帮帮忙,谢谢。 _________________________________________________________________ 享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com
2005年04月26日 星期二 17:24
import,请参阅《Python入门指南》。 准确的说,Python中没有include文件之说,它是按照包、命名空间、类型、函数来定义的。 在05-4-26,崔 艳龙<guxinghan1981 at hotmail.com> 写道: > python中,include一个文件的语法是什么?我找了半天没找到,大家帮帮忙,谢谢。 > > _________________________________________________________________ > 享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com > > _______________________________________________ > python-chinese list > python-chinese at lists.python.cn > http://python.cn/mailman/listinfo/python-chinese > -- 欢迎访问: http://blog.csdn.net/ccat 刘鑫 March.Liu
2005年04月26日 星期二 17:28
呵呵, Import就好啊!!Import *** (模块名称),是地球人都知道~~~ ,:-) ----- Original Message ----- From: "崔 艳龙" <guxinghan1981 at hotmail.com> To: <python-chinese at lists.python.cn> Sent: Tuesday, April 26, 2005 4:56 PM Subject: [python-chinese] 关于导入文件的问题 > python中,include一个文件的语法是什么?我找了半天没找到,大家帮帮忙,谢谢。 > > _________________________________________________________________ > 享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com > > _______________________________________________ > python-chinese list > python-chinese at lists.python.cn > http://python.cn/mailman/listinfo/python-chinese >
Zeuux © 2025
京ICP备05028076号