Straggling with import statement


Repl link/Link to where the bug appears:

Screenshots, links, or other helpful context:

code snippet

can’t figure out why I am getting ModuleNotFoundError

here is a link to a repl:

here is a screenshot of files in a “snap” folder

here is an error I get:

what I am doing wrong?


3 posts were merged into an existing topic: Import class from a module

This is a valid request, however it has been posted previously. Please search before posting in the future.

The original post can be found here.