I got an error when I ran the program.
Traceback (most recent call last):
File "xxx.py", line 1, in <module>
import xxx
File "/Users/tonosamart/xxx.py", line 4, in <module>
def zzz(arg: xxx.yyy):
AttributeError: module 'yyy' has no attribute 'xxx'
I don't know what it is, but it feels like import has failed?
↓
If there is a program with the same file name as the import specification, the cause is that it goes to read it> < Unlike other languages, it's annoying that file name = class name cannot be used.
I'm addicted to it
Recommended Posts