fail to indent in inner loop

Jakub Hegenbart kyosuke at seznam.cz
Fri Sep 15 15:00:59 EDT 2006


perltcl at yahoo.com wrote:
> hi
> 
> I've started learning python. I was typing from a tutorial,
> and I fail to indent on an inner loop.
> I got an error and all my previous typed lines are gone.
> is there a way to prevent this.
> i don't mind editing the last line, but to lose all the previous lines
> are too much.
> (since it has history function like bash.)
> 

Try using PyCrust. Using PyCrust is very instructive (for example, you 
can see the namespace tree) and Alt+P history returns the whole previous 
block of code.

Jakub



More information about the Python-list mailing list