Gael> You can use a trick in the Python interpreter:
>>
Gael> if True:
Gael> <paste your code here>
>>
>> Note though that copying and pasting that code will give problems if
>> the pasted code contains any blank lines.
David> How so?
Copy and paste this into the interpreter:
if True:
x = 1
y = 10
The solution is to use # where you really want a blank line:
if True:
x = 1
#
y = 10
Skip
_______________________________________________
Doc-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/doc-sig