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