Python does not add the current directory to sys.path
, but rather the directory that the script is in. Add /home/bodacydo/work/project
to either sys.path
or $PYTHONPATH
.
More Related Contents:
- Encrypting and decrypting a password raises ValueError
- How to handle special cases in my Python code?
- In python, how do you locate a specific word in a string file. [closed]
- Redirect the output of python script into a text file [duplicate]
- Why are global variables evil? [closed]
- How do I check if a variable exists?
- Get HTML source of WebElement in Selenium WebDriver using Python
- mkdir -p functionality in Python [duplicate]
- Python mysqldb: Library not loaded: libmysqlclient.18.dylib
- OpenCV Python rotate image by X degrees around specific point
- Error “ImportError: DLL load failed: %1 is not a valid Win32 application”
- Pandas Merge – How to avoid duplicating columns
- How to implement linear interpolation?
- Properties file in python (similar to Java Properties)
- Chromedriver only supports characters in the BMP error while sending Emoji with ChromeDriver Chrome using Selenium Python to Tkinter’s label() textbox
- Can an asyncio event loop run in the background without suspending the Python interpreter?
- Python: reload component Y imported with ‘from X import Y’?
- Django gives Bad Request (400) when DEBUG = False
- How to get stable results with TensorFlow, setting random seed
- drop trailing zeros from decimal
- How to set target hosts in Fabric file
- Eclipse and Google App Engine: ImportError: No module named _sysconfigdata_nd; unrecognized arguments: –high_replication
- How do “and” and “or” work when combined in one statement? [duplicate]
- Python: Best Way to remove duplicate character from string
- Python frozenset hashing algorithm / implementation
- need to convert UTC (aws ec2) to PST in Python
- Connecting to ‘Explicit FTP over TLS’ in Python (??)
- Set markers for individual points on a line
- add colorbar to a sequence of line plots
- flask-login: can’t understand how it works