#getting error when trying to import from another file
1 messages · Page 1 of 1 (latest)
dont understand though this worked on another device when i was doing it on there
and then the same issue occurs for every other time i try to import something from another file
Your structure feels weird. You should probably make an src folder, put your main.py in there and all the folders inside as well. This will just be better in the long run
Because else it depends on what directory you run the code from and a bunch of details that you might overlook
alr thank you
mb message where not loaded