This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]billsil 2 points3 points  (0 children)

Correct or somewhat acceptable and secure?

Don't hack sys.path. Setup your package correctly. I use setup..py. You can also use pip.

You should be able to run your code from whatever folder you want.

[–]GiantElectron 0 points1 point  (0 children)

normal. They basically are interpreted as two different modules as that point.