Day #45 - if __name__ == "__main__" in Python
Introduction
Welcome to my 45th blog post on the Python journey. On day 45, I learned about a very important idiom called as ' ifname == "main" ' in python. This heps us to determine whether the Python scripts is being run directly or being imported ...
codewithjain.hashnode.dev4 min read