Forums

Import from another directory

How do I import from another directory? I have a file called "toolbox.py" located at /home/smallbytes/.local/lib/python2.7/sit-packages/toolbox.py. I need to be able to access this from any place on my filesystem. I really need to do this, so please be quick!

If you have a module in site-packages, it should already be on the PYTHON_PATH, so it should be importable.