0

I'm trying to import two modules that I have created before separately called "Program 5-26 circle.py" and "Program 5-27 rectangle.py". I failed in importing them at first. After I changed their names to be "circle.py" and "rectangle.py", I succeeded.

Is it that I cannot import modules whose name include blank space? Is there any specific rule in naming module other than not including blank space? What is the mechanism behind that or what is the motivation for the designer to design it in this way?

Mufei Li
  • 129
  • 1
  • 4

0 Answers0