SyntaxFix
Write A Post
Hire A Developer
Questions
That entire block is misplaced.
class Example(object): def main(self): print "Hello World!" if __name__ == '__main__': Example().main()
But you really shouldn't be using a class just to run your main code.