Tuesday, March 6, 2012

one more noob post about python

Wondered what does __name__ means. Looked here.
So, If I want to create a killer-app, that works fine with everything except microsoft.py:
if __name__ == microsoft:
   kill_everything

- I will fail.
I can only see does this module runs as a lib or as an app

No comments:

Post a Comment