Jul-21-2020, 12:14 AM
Thank you very much for the answer deanhystad/Yoriz.
I thought main() is always the very first function to get executed when the script is run directly (not imported) which is the feature of "if __name__ == '__main__':" statement.
I thought main() is always the very first function to get executed when the script is run directly (not imported) which is the feature of "if __name__ == '__main__':" statement.