On Jun 23, 4:42 pm, Peter Otten <[email protected]> wrote: (snip) > > However I end up doing it in every submodule, so it seems a little > > redundant. I wish I could load the variable in the parent program and > > have it be available in all submodules. Am I missing something? > > You can modify the builtin namespace: > But I don't think it's a good idea.
Even posting about it is already a bad idea IMHO. There are good reasons this isn't documented. @OP: yes, explicit imports are boring... until you have to debug and maintain the code, and then you start to LOVE them. -- http://mail.python.org/mailman/listinfo/python-list
