Re:Denied: Python Micro-Framework (Sinatra-like)
by pyre on Friday April 02, 2010 @07:01PM
(#1237792)
By the same token, I could look at (any) Ruby code and call it the same thing seeing as it is a far enough deviation from 'C-like' languages and I haven't bothered to learn it yet. The "if __name__= '__main__':" convention is pretty well-established in Python. __name__ is only '__main__' when the script is the 'main' script being run (i.e. it wasn't imported as a module/package).
[ Parent
| on HN ]
There are no comments on this comment yet.