On Sun, Oct 21, 2007 at 11:30:17AM +0200, Hrvoje Nikšić wrote:
> If I indent the Python block by any amount of spaces, everything works
> -- but then I can no longer paste the example into Python. 

You can use a trick in the Python interpreter:

if True:
<paste your code here>


HTH,

Gaël
_______________________________________________
Doc-SIG maillist  -  Doc-SIG@python.org
http://mail.python.org/mailman/listinfo/doc-sig

Reply via email to