"Compile time" checking?

Qopit russandheather at gmail.com
Wed Aug 10 23:21:24 CEST 2005


> if __name__ == '__main__':

Yep - that does it... should have thought of that.  Thanks.

This works fine for pychecker with no hangage:
#---
if __name__ == "__main__":
  while 1:
    x = raw_input("meh:")
#---




More information about the Python-list mailing list