Module has no attribute main error

Hi,

I think, “def main” should be in the beginning of the line.

I mean, “pull” the main method and the line starting with “if” to the left side.
Now both are “in” the class. They should be standalone.

2 Likes