I want to pass PYTHONPATH as argument to python.exe just like i can do this in java:
java -classpath /somedir/some.jar;/anotherdir MyClass
so i'm looking for something like:
python -PYTHONPATH /somedir/pythonsrc;/anotherdir/pythonsrc mymodule.py
is it possible to do such a think in python? thanks
set PYTHONPATH=...?PYTHONPATHs explicitly, because my "general" PYTHONPATH includes a relative path (.-- always nice to have, but may interfere with other libs) but they are executed in different directories. However, it's still not possible to do.