Python - Modules and Code Organization
You have two files:
What is the output when running
# main.py
import helper
helper.run()
print('Main:', __name__)
# helper.py
def run():
print('Helper:', __name__)
if __name__ == '__main__':
run()What is the output when running
python main.py?