5
I want to import a module that is found in a folder that is sister to the folder where I have the script, inside which I want to import the other script, ie:
logic\ 
    board.py`
    mlogic.py
    player.py
gui\
    mgui.py
logic and gui are the sister folders, and I am currently within mgui.py and would like to import the class Board of the script board.py. With the PyCharm, i make this import from logic.board import Board, and it works, but not with the IDLE, why? How can I solve this? It seems strange that one works and the other does not...


Remove the images and post the code used. After you type select the code and press Ctrl+K to make it look right, indented, etc.
– Evilmaax
on Ctrl +k n shows the file created inside the print folder and to show it
– xczinbr