<div dir="ltr">Thank you Fredrik. This is exactly what I was looking for.<br><br><br>> cannot you just insert the appropriate directory in sys.path the first <br>> thing you do in the scripts? e.g.<br>> <br>> import os, sys<br>
> <br>> lib = "lib_dev" # change this for prod/rss.py<br>> <br>> sys.path.insert(0,<br>> os.path.join(<br>> os.path.dirname(os.__file__), "site-packages", lib<br>
> ))<br>> <br>> import parse # picks the right one<br></div>