I am running Windows 7 and I can import the built-in modules, but when I save my own script and try to import it in IDLE, I get an error message saying that the module does not exist.
I am using the Python text editor, which can be found by clicking File and New Window from the Python shell. I save it as a .py file in the Module folder that I created in the Python directory. However, whenever I type import module_name in IDLE, it says that the module does not exist.
What am I doing wrong or not doing? I tried importing module_name, import module_name.py, python module_name, python module_name.py
source
share