Always do yourself a favor and use the if name == 'name' convention (http://stackoverflow.com/questions/419163/what-does-if-name-main-do) from the beginning. This prevents confusing behaviour eg when you want to use a function that's further down in your code.
MKesper
- 203
- 1
- 6