Hello, I just started to use Python. I wrote the following code and expected 'main' would be called. def main(): print "hello" main But I was wrong. I have to use 'main()' to invoke main. The python interpreter does not give any warnings for the above code. Is there any way/tool to easily detect this kind of errors ? Thanks !