Comment

Peter Bengtsson

The reason why? Because I didn't know about it.

Just tried it. It works! Thanks for the tip!

Parent comment

guillaume

Why don't you use the *-i* flag of the intepreter. It fallbacks on the python intpreter when the code is done and with all the local variables availables in local scope.