I have a python file that I wrote myself, that has several functions in it. I am trying to import it from the python interpreter from within powershell (Windows 7). This is a learning exercise. But it isn't importing, it's throwing an error that the module does not exist. My question is where do I need to save my .py file to? Is there a specific place that python looks for modules to be imported? I'm using python2.7.10.
This isn't a module from the standard library or a third party that I've downloaded. It is a python file that I am importing so that I can call functions from it...
It's answered now, I was just calling python from withion the wrong directory. I have to call python from the same directory that the file is saved in. Thank you guys.