1. ImportError: No module named 'nameparser' 2. AttributeError: 'str' object has no attribute 'parse' python from nameparser import HumanName name = HumanName("John Doe") print(name.first) 3. ValueError: name 'HumanName' is not defined python from nameparser.config import CONSTANTS from nameparser import HumanName name = HumanName("John Doe") print(name.first) 4. TypeError: 'NoneType' object is not subscriptable 5. IndexError: list index out of range python from nameparser import HumanName name = HumanName("John Doe") print(name.first)


上一篇:
下一篇:
切换中文