We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I have a class called "Square".
When I put the class in the main file, it works.
But when I put the class into another tab called Square, says: "NameError: global name 'Square' is not defined".
If I write "import Square", says: TypeError: 'module' object is not callable.
What's the problem?