Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing


  • 3 years ago

How do I create a module in Python? I tried simply importing one of my .py files into the interpreter but it gave me an error, saying that no such module exists. Does the file have to be saved to a certain directory?

  • This Question is Closed
  1. lopus
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    files must be in the same folder import namefile

  2. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy