Closed jafeha closed 11 years ago
you could just put all that stuff (meaning also the declaration of the parser and the logger) in the utils.py and just say
from utils import *
that will import everything in the namespace of the main script and thus should work
seems to work. thanks.
it's getting a bit messy. we're now having a couple of functions: download_check(), update_config(), download_application(), extract_files() and of course the mainLogger(). i'd prefer to move all of them to utils.py to be able to use some functions within others. e.g. the logger function is needed in almost all other functions. crossimporting seems to be a bit uncool isn't it?
i might need some help my @jojoo- to do this.