My Tech Notes
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
‹
›
Home
View web version
No comments:
Post a Comment