Python: is the current directory automatically included in path?
问题 Python 3.4: From reading some other SO questions it seems that if a moduleName.py file is outside of your current directory, if you want to import it you must add it to the path with sys.path.insert(0, '/path/to/application/app/folder') , otherwise an import moduelName statement results in this error: ImportError: No module named moduleName Does this imply that python automatically adds all other .py files in the same directory to the path? What's going on underneath the surface that allows