I am very new to python, about one month, and am trying to figure out how the importing works in python. I was told that I can import any \'module\' that has Python code in
These files are not on sys.path. It should have been though.
If you want to access them from the interpreter, you will need to add the location to sys.path
>>> import sys
>>> print sys.path
>>> sys.path.append('C:\\Users\\Cube\\Documents\\Python')
>>> import reduc
You could also include the path in environment variable - PYTHONPATH
See the details on module search path here :
Also look at (PYTHONPATH) environment variable details here: