<filename>TestMain/cool.py
# cool.py


def cool_func():
    print('cool_func(): Super Cool!')


print('__name__:', __name__)
if __name__ == '__main__':
    print('Call it locally')
    cool_func()

<filename>TestMain/cool.py
# cool.py


def cool_func():
    print('cool_func(): Super Cool!')


print('__name__:', __name__)
if __name__ == '__main__':
    print('Call it locally')
    cool_func()
