I've read through many of the other S-O questions relating to this, but still am having trouble getting it to work for me. Apologies in advance for the overlap! I'm using python 2.7.10, on Windows 7.
I'm trying to import a module that I wrote, in my Python Console in PyCharm (doubt that matters). In the console, I navigate until I'm in the directory that contains my module:
/users/usn/.../Tools/my_file.py
which can be confirmed using pwd. I then try
import my_file
but get the error ImportError: No module named my_file. I tried a number of variations to no avail. How can I import the module I wrote, in the console?
Thanks