Phoe6 wrote:

> #!/usr/bin/python
> global astring
> astring = "This is a String"

A global declaration just says "look for this name in the module
namespace". Since you /are/ in the module namespace here, there's
no need to put "global" here.
 
> Works, but something different ?

Excuse me, what do you mean?

Regards,


Björn

-- 
BOFH excuse #410:

Electrical conduits in machine room are melting.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to