python get function in module by 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()