79466681

Date: 2025-02-25 13:17:36
Score: 2
Natty:
Report link

I have everything stored in one giant file, and it's quite inconvenient. And all because I can't import other files, it just doesn't see them, no way. init.py or without it doesn't give anything. Someone help me deal with this madness. I didn't even think that such a problem could arise, in all other languages ​​the file is connected to the file with just one line.

I have even abandoned subdirectories, everything is in one directory, and still python does not see anything except one executable file.

I just don't understand what could be wrong with this code:

from second_file import MyClass
Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): what could be
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user690423