Environment variables

Moshe Zadka moshez at math.huji.ac.il
Wed Mar 8 15:56:21 CET 2000


On Wed, 8 Mar 2000, Erik Christiansson wrote:

> I am writing a script-editing program. I was just wondering if someone could
> write a short Python script that prints out all the env vars for me. I want
> to have a few sample scripts for my program.
> 

print __import__("os").environ.items()





More information about the Python-list mailing list