I am trying to to import a file within this folder's directory. The file name is ChessEngine.py in the directory shown below:
C:\Users\tquig\OneDrive\Desktop\Chess
my code for importing the said file is:
from Chess import ChessEngine
Then I create the environment using:
gs = ChessEngine.GameState()
with class:
def GameState()
I am receiving a no module named 'Chess' error in powershell when calling python ChessMain.py. Could I be importing my file all wrong in python 3?