interactive editing

max(01)* max at fisso.casa
Fri Jul 23 19:29:17 CEST 2004


Michael Chermside wrote:
> max writes:
> 
>>i would like to save, list and modify objects definitions in the python
>>shell
> 
> 
> I don't know of any way to do this. But if you turn your thinking
> "inside out" you may achieve what you need. Instead of trying to
> save, load, and edit things from within your Python interactive
> session, how about if you put a Python interactive session within
> your editor? Even something like IDLE is reasonably capable at
> this -- hit a single key to reload all of the code in your module
> and re-run it, then drop into the prompt and explore.
> 
> And yes, I realize that this doesn't quite give you the same
> ability as a "save" within the interactive session would.
> 
> -- Michael Chermside
> 

thanks for prompt reply...

i think i'll give it a try (i use vi...)

meanwhile i'd like to know what are the most common practices among clp 
regulars as far as write/execute/debug cycle is concerned...

bye

max



More information about the Python-list mailing list