python path to library code example
Example 1: find the path to a file python
import os
print os.path.abspath("something.exe")
Example 2: save pythonpath
export PYTHONPATH="${PYTHONPATH}:/my/other/path"
import os
print os.path.abspath("something.exe")
export PYTHONPATH="${PYTHONPATH}:/my/other/path"