overfl0 / Pythia

An extension for Arma 3 that lets you write extensions in Python 3
MIT License
64 stars 6 forks source link

Use executable directory instead of CWD for python path setup #34

Closed overfl0 closed 6 years ago

overfl0 commented 6 years ago

Currently CWD is also added to the python paths. Use the executable directory, instead.

https://stackoverflow.com/questions/143174/how-do-i-get-the-directory-that-a-program-is-running-from