Python Get Nom du module
import sys
print(sys.modules[__name__])
Foolish Finch
import sys
print(sys.modules[__name__])
def main():
print('Running test...')
...
if __name__ == '__main__':
main()