[Python] "No Module named" error - Python File organization

Discussão em 'Python' iniciado por Stack, Março 15, 2025.

  1. Stack

    Stack Membro Participativo

    src
    |
    ----folder1
    |------file.py
    ----folder2
    |------file2.py


    Now If I try to access file from file2 I get No Module Named Error.

    from folder1.file import *


    What can I do to fix this?

    Continue reading...

Compartilhe esta Página