Wednesday, 16 December 2009

Organizing and re-using Python code

As the code grows it has become necessary to structure it better and re-use it (import it) - so that it can be maintained and expanded effectively. In short, it is time to take a closer look at
if __name__=="__main__": ...

I think this is the best explanation... Better start implementing it.

No comments:

Post a Comment