how to get the name of a module object in python code example
Example: python get module name
def main():
print('Running test...')
...
if __name__ == '__main__':
main()
def main():
print('Running test...')
...
if __name__ == '__main__':
main()