My Tech Notes
Search This Blog
main function in python module
class A:
def __init__(self):
pass
def main():
print("Hello World")
if __name__ == '__main__':
main()
see also
stackoverflow
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment