Python import invalid syntax hyphen

Describes the cause and action for error messages.


Error Message(English):
import invalid syntax hyphen

Resolution


関連リンク


Is it ok to use dashes in Python files when trying to import them ...
https://stackoverflow.com/questions/761519/is-it-ok-to-use-dashes-in-python-files-when-trying-to-imp・・・

Python: Error when importing a module with '-' in the name
https://stackoverflow.com/questions/45890590/python-error-when-importing-a-module-with-in-the-name

Why do hyphens in module names generate syntax error?
https://stackoverflow.com/questions/9064324/why-do-hyphens-in-module-names-generate-syntax-error

How to import module when module name has a '-' dash or ...
https://stackoverflow.com/questions/8350853/how-to-import-module-when-module-name-has-a-dash-or-hyph・・・

Python Module with a dash, or hyphen (-) in its name
https://stackoverflow.com/questions/7583652/python-module-with-a-dash-or-hyphen-in-its-name

How to import module when module name has a '-' dash or hyphen in it?
https://stackoverflow.com/questions/8350853/how-to-import-module-when-module-name-has-a-dash-or-hyph・・・

How to import python files with hyphens | Koopman.ME
http://www.koopman.me/2015/02/how-to-import-python-files-with-hyphens/

[Python]ハイフン(-)が含まれるスクリプトファイルをインポートする ...
https://blog.aoshiman.org/entry/115/

pythonでハイフンのつくファイルをモジュールとして読み込む方法 - blog.ton ...
https://blog.ton-up.net/2013/11/08/force-import-module/

Cannot import dash-html-components with dash==0.23.1 and python ...
https://github.com/plotly/dash/issues/327



Name:
Comment:



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