To simplify, I think you just need to use models instead of modules folder.
Put the myfile.py in /models and you have access to any function, class or
variable defined in there.
You can keep your file in modules, but it will be a little more complicated,
you will need to create a model file which imports the file from module.
in models/importator.py
myfile = local_import('/.../myfile')
now, you can access myfile.myvar in any place you want.
Bruno Rocha
http://about.me/rochacbruno/bio

