vim python ide,IDLE历史,Python IDE和带有Vim的Interactive Python

This is sort of both Python and Vim related (which is why I''ve posted to

both newsgroups).

Python related:

----------------------

I have been frustrated for quite some time with a lack of a history

command in IDLE (in fact with IDLE in general). Often I''ll develop new

code at the command line, testing each line as I go. Currently I have to

copy and paste, removing outputs and the ">>>" at each line.

Is it perhaps possible to make some kind of hack to do this (dump a

command history)?

Idle in general isn''t that great IMO, so I was wondering also if there are

better alternatives out there? What do people use mostly? I''ve tried

something called pyCrust, but this too didn''t have history and some other

things I was looking for. On a more general note, although the agility

and simplicity of Python make programming tools like an IDE less

necessary, it still seems that Python is lacking in this departement. The

PyDev plug-in for Eclipse seems like good step in this direction, although

I haven''t tried it yet. Does anyone have any experience with this, or

perhaps can point me to other tools.

Vim related:

----------------------

Ideally, it would be nice to have a command mapped to a keystroke that can

append the last executed command to a file. Even better would be a system

that would integrate the file editing and interactive command line tool

more seamlessly. Something along the lines of a debugger + file editor

+ command line utility, where file editor = vim. I know that vim has a

utility for running python commands from its command prompt, but I have

had a hard time getting this to work in windows and haven''t explored it.

Has anyone seen/tried a system along these lines, perhaps incorporating

the python debugger (pdb)? I can see something that will run the file you

are editing in vim up to the cursor or a mark with a set_trace at the line

you are editing.

Any info is appreciated, thanks.

--

Ashot Petrosian

University of Texas at Austin, Computer Sciences

解决方案This is certainly a worthy topic. There are several IDEs for Python

(one I like very much being Komodo) that have plenty of fancy

debugging features and advanced operations, however I have yet to

encounter (elsewhere) the convenience that comes with being able to

press F5 and have an interactive interpreter load my code and be ready

for testing.

That said, that is my only reason for my ever using IDLE. Without it I

would probably forget that IDLE exists, were it not for the obnoxious

context menu entry. ;)

--

Daniel Bickett

dbickett at gmail.com

http://heureusement.org/

Daniel Bickett wrote:This is certainly a worthy topic. There are several IDEs for Python

(one I like very much being Komodo) that have plenty of fancy

debugging features and advanced operations, however I have yet to

encounter (elsewhere) the convenience that comes with being able to

press F5 and have an interactive interpreter load my code and be ready

for testing.

*Sigh*, I too am a vi kinda guy, and I keep badgering the WingIDE

gang to give Wing a vi mode ... :) They keep saying "it''s coming",

but it''s been a while ... and in fairness to them, I don''t think

there is exactly a huge horde of vi barbarians at their gate!

Probably a pretty tiny horde, and not very noisy. ;)

Steve

WingIDE looks nice though, and it seems that the interactive shell is

built in from the screenshots. Can you run a program to a certain point

break point and use the shell?

On Wed, 02 Feb 2005 23:40:40 -0500, Stephen Waterbury

wrote:

Daniel Bickett wrote:This is certainly a worthy topic. There are several IDEs for Python

(one I like very much being Komodo) that have plenty of fancy

debugging features and advanced operations, however I have yet to

encounter (elsewhere) the convenience that comes with being able to

press F5 and have an interactive interpreter load my code and be ready

for testing.

*Sigh*, I too am a vi kinda guy, and I keep badgering the WingIDE

gang to give Wing a vi mode ... :) They keep saying "it''s coming",

but it''s been a while ... and in fairness to them, I don''t think

there is exactly a huge horde of vi barbarians at their gate!

Probably a pretty tiny horde, and not very noisy. ;)

Steve

--

==============================

Ashot Petrosian

University of Texas at Austin, Computer Sciences

(views expressed are solely my own)

==============================

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值