As I've mentioned before I originally came from a Matlab background and then moved onto PHP before discovering Python. In both Matlab and PHP there were ways to create a scripts that when run all the variables got dumped into your current workspace. That workspace in Matlab being the interpreter when called from there or the function's workspace when called from a function. I would use this capability for constants - for example, plotting tools where you want to define a set of default fonts, line widths, etc.
Now in Python I can import a module but then all of the references constants in that module require either from {module} import *
or {module}.{constant}
.
This doesn't really limit me it is just an inconvenience. However, it would be nice to be able to import a constants file and just have the constants available to whatever called them.
I suspect Python does not allow this but I thought I would ask to see if someone had a clever work around.