a good approach:
- If you have only 1 file: declare global variables at the top.
- If you have many files use them: write all that variables to a config file, use ConfigParser to read them in.
pass it around! don't use global
SO: you should never use global
Post a Comment