Iterating Through Environment Items : Environment : Development PYTHON examples


PYTHON examples » Development » Environment »

 

Iterating Through Environment Items



import os 

for k, v in os.environ.items()
    print "%s=%s" (k, v

print "n".join(["%s=%s" (k, vfor k, v in os.environ.items()])   

           
       



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo Development
» Environment