0

I am familiar with java but new to python and I wanted to know whether this piece of code is same as the main method in java if __name__ == '__main__'. Do all the python class need this code to execute. what if I did not have this code in my .py file. Will it throw any error message

0 Answers0