Let's say I have the files main.py, a.py and b.py

main.py:
-----------
x="some local value"
import a
...


a.py:
-----------
x="some other local value"
import b
...


b.py:
-----------
def test():
    print x

----------------------
Is it possible to access the x of the module a.py in the module b.py?
What would be the functions/statements to make it possible? Or in
general, how to access the locals of the importing ( not imported!!!)
module?

Regards,
Aidas Bendoraitis

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to