Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python: need to determine how to handle paths #202

Open
elsevers opened this issue Mar 26, 2021 · 0 comments
Open

Python: need to determine how to handle paths #202

elsevers opened this issue Mar 26, 2021 · 0 comments

Comments

@elsevers
Copy link
Contributor

Currently, the Python implementation requires that a script file using the eMach objects be located at a certain relative path (i.e. examples folder needs to be located in the python folder, it cannot be in python\eMach). This isn't going to be a workable solution for people who use eMach via a git submodule.

One solution would be to permanently alter the python path environmental variable, but this seems a bit heavy handed and would require a user to do this every time they move their project to a different location on their hard drive.

Is there a more moderate compromise here? In MATLAB we can add folders to that path that only persist their until we restart MATLAB. Can we do something similar in Python?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant