I am trying to work on a Python library that is already installed on my (Ubuntu) system. I checked out that library, edited some files, and wrote a small script to test my changes. Even though I put my script in the same folder as that of the library, it seems Python is using the installed version instead (the one in /usr/share/pyshared/...
).
This is my directory structure:
src
+ my_package
- my_script.py
+ library_package
- lots_of_code
How can I tell Python to use the code in my directory, not the installed one?