Valid Python Code?

Oleg Broytmann phd at
Wed Feb 16 10:17:56 EST 2000

On Wed, 16 Feb 2000, Anders M Eriksson wrote:
> I'm just wondering is this a valid Python code snippet?


> import os
> for k,v in os.environ.values():
>     print k,v
> I can't get it to work!?

for k,v in os.environ.items():

    Oleg Broytmann      Foundation for Effective Policies      phd at
           Programmers don't die, they just GOSUB without RETURN.

More information about the Python-list mailing list