iu2 <[EMAIL PROTECTED]> wrote: > file a3.py: >======== > from a1 import the_number > import a2 > ... > > Why doesn't it work in the first version of a3.py? > Think of 'import a2' as being the same as:
a2 = __import__('a2') and 'from a1 import the_number' as roughly the same as: the_number = __import__('a1').the_number In other words think of them as assignments and it should all make sense. -- http://mail.python.org/mailman/listinfo/python-list