Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Python end of file marker similar to perl's __END__


  • From: martin at v.loewis.de ("Martin v. Löwis")
  • Subject: Python end of file marker similar to perl's __END__
  • Date: Wed, 01 Aug 2007 07:20:18 +0200

> 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