Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Python: How to Append to system path

Python: How to Append to system path
{filelink=16777}

import sys, os
sys.path.append('/game/perso/lib')
# Or
os.environ['TEST']="myprogram.exe"
# print custom variable
print print os.environ['TEST']

No comments yet.

Leave a Comment