global variables in python

Simon Brunning SBrunning at trisystems.co.uk
Tue Nov 21 09:36:13 EST 2000


> From:	Ralf Bierig [SMTP:c00rb at dmu.ac.uk]
> How can say to python, that it should use the global version. And not
> redefining the same variable in the function as a local variable??
  
See <http://www.python.org/doc/current/ref/global.html>.

Cheers,
Simon Brunning
TriSystems Ltd.
sbrunning at trisystems.co.uk
When a man steals your wife, there is no better revenge than to let him keep
her. - Sacha Guitry




-----------------------------------------------------------------------
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. TriSystems Ltd. cannot
accept liability for statements made which are clearly the senders own.




More information about the Python-list mailing list