Python end of file marker similar to perl's __END__

"Martin v. Löwis" martin at v.loewis.de
Wed Aug 1 01:20:18 EDT 2007


> 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?

Sorry, no, it doesn't.

Regards,
Martin



More information about the Python-list mailing list