What is the best way to import local modules?
"What are the PEP-compatible ways to import a local package even from a parent folder with the least preassumptions" could be the long title. I am looking for a solution to make it possible to use a local package. My requirements: it must be PEP-compatible, i.e. at least the most commonly accepted PEP must support it OS, terminal, user and environment independent, i.e. the solution must not rely on any specific circumstances Among these solutions, I am looking for the one that is the simplest to implement the scope of the modification is flexible (doesn't need to be executed every time, but is
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.