On Aug 1, 5:53 am, beginner <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> This is just a very simple question about a python trick.
>
> In perl, I can write __END__ in a file and the perl interpreter will
> ignore everything below that line. This is very handy when testing my
> program. Does python have something similar?
>
> Thanks,
> Geoffrey

I wished from something like that. What you can do at the
moment, is to comment or triple quote the code you
don't want to run.

   Michele Simionato

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to