I want to add a path to sys.path based upon a variable

Can I do that?

Hardcodeing the path works fine, but I want to set it based upon a variable.

I know I can set PYTHONPATH, but just wondering if I can add a directory on the 
fly to sys.path using a variable





-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to