> 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:")
#---

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

Reply via email to