How do I import a variable from another module?

Andy Terrel andy.terrel at gmail.com
Thu May 3 21:36:01 EDT 2007


are you sure your variable isn't in some code block that wouldn't be
read on import?  Such as:

if __name__ == "__main___":
     actions = 1





More information about the Python-list mailing list