rdoddanavar / hpr-sim

6DOF Flight Simulation for High Power Model Rocketry
https://rdoddanavar.github.io/hpr-sim/
GNU General Public License v3.0
3 stars 2 forks source link

__init__.py's --> revisit package import #25

Closed rdoddanavar closed 3 years ago

rdoddanavar commented 4 years ago

Revisit:

rdoddanavar commented 4 years ago

https://stackoverflow.com/questions/37139786/is-init-py-not-required-for-packages-in-python-3-3 https://stackoverflow.com/questions/448271/what-is-init-py-for/29509611#29509611 https://stackoverflow.com/questions/4383571/importing-files-from-different-folder https://chrisyeh96.github.io/2017/08/08/definitive-guide-python-imports.html

rdoddanavar commented 3 years ago

What I really want --> set import & file read paths relative to the script that uses them, NOT relative to the working directory, i.e. from which exec.py is called

rdoddanavar commented 3 years ago

Fix read path for config_unit.yaml as well