include path in python with -I option

include path in python with -I option

Postby athakur » Mon Dec 21, 2015 10:03 pm

can we have paths include option while invoking python, for example:
python -I /mypath, /yourpath <mypythonprogram>

This will solve a number of headaches using environment PYTHONPATH variable or sometime even hardcoding the path inside the python source.
Last edited by stranac on Mon Dec 21, 2015 10:04 pm, edited 1 time in total.
Reason: First post lock.
Posts: 1
Joined: Mon Dec 21, 2015 9:59 pm

Return to Suggestions

Who is online

Users browsing this forum: No registered users and 2 guests