usage of os.environ. How to unset something

ra_sekhon at my-deja.com ra_sekhon at my-deja.com
Thu Feb 10 15:02:50 EST 2000


Hi,
   Starting out in Python.  Current assignment requires to verify if a
variable exists via os.environ['variable_name'] test.  If it does then
I need to 'unset' it.  Similar to unset variable_name call in a shell.
Any suggestions?

Regards,
Ravinder Sekhon
ra_sekhon at yahoo.com


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list