I'm using Python3 on Windows. I have the following file structure:
This is the folder path when I copy it from windows:
D:\5 - Coding\Back-end\CreateGames\kato_utils
I'm trying to import the full module:
kato_utils.py
into:
main.py
But it does not work. Here are the path I tried in my main.py but none works:
import sys
sys.path.insert(1, "D:/5 - Coding/Back-end/CreateGames/kato_utils")
# sys.path.insert(1, "D:\5 - Coding\Back-end\CreateGames\kato_utils")
# sys.path.insert(1, "D:\\5 - Coding\\Back-end\\CreateGames\\kato_utils")
import kato_utils
from kato_utils import kato_utils
How to import kato_utils.py or any of his functions into my main.py?
