python get module from its name 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()