I use Windows. Somehow I fail to import my own module.
I prepared:
import sys
sys.path.append(r'C:\Users\Michael\PycharmProjects\timer')
#import timer
print(sys.path)
An extract of what was printed:
site-packages', 'C:\\Users\\Michael\\PycharmProjects\\timer']
In C:\Users\Michael\PycharmProjects\timer I have a file named timer.py
Why is my command import timer
incorrect?