Project-wide variable...

Gnarlodious gnarlodious at gmail.com
Thu Jun 23 10:09:51 EDT 2011


On Jun 23, 7:59 am, Noah Hall wrote:
> >>>from a import x

I'm doing that:
import Module.Data as Data

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?

-- Gnarlie



More information about the Python-list mailing list