Hi,
so I am assuming global name space refers to the location of where the
module is imported, for example my previous example where I call the
gzip module from test_class class, like so:

class test_class:
   import gzip

did not work because of scoping. So global name space in this case is
declaring the import outside of test_class like so:

import gzip
class test_class:
   etc..

Is my assumption correct?  Thanks.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to