Python __name__ is not __main__

Describes the cause and action for error messages.


Error Message(English):
__name__ is not __main__

Resolution


関連リンク


Why is my python function not being executed? - Stack Overflow
https://stackoverflow.com/questions/29652264/why-is-my-python-function-not-being-executed?lq=1

Sharing Global variables in python - Stack Overflow
https://stackoverflow.com/questions/38753914/sharing-global-variables-in-python

Why does pool.join() hangs when using IPython magic %reset ...
https://stackoverflow.com/questions/48053355/why-does-pool-join-hangs-when-using-ipython-magic-reset・・・

Call function from parent module in imported module
https://stackoverflow.com/questions/47380232/call-function-from-parent-module-in-imported-module

Why is my python function not being executed?
https://stackoverflow.com/questions/29652264/why-is-my-python-function-not-being-executed

Name error while using Multiple modules and Pyqt
https://stackoverflow.com/questions/27726270/name-error-while-using-multiple-modules-and-pyqt

Call function from parent module in imported module - Stack Overflow
https://stackoverflow.com/questions/47380232/call-function-from-parent-module-in-imported-module/473・・・

Python - Command-Line Examples - Linuxtopia
https://www.linuxtopia.org/online_books/programming_books/python_programming/python_ch35s05.html



Name:
Comment:



[return to Python エラーコード一覧]