Python end of file marker similar to perl's __END__

beginner zyzhu2000 at gmail.com
Tue Jul 31 23:53:11 EDT 2007


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




More information about the Python-list mailing list