Python知识分享网 - 专业的Python学习网站 学Python,上Python222
Python 引用问题 - ImportError: attempted relative import with no known parent package

近日在尝试引用其他文件的代码时,遇到了错误: ImportError: attempted relative import with no known parent package.

2023-07-10 13:12:51
Python 错误:UnicodeEncodeError: 'gbk' codec can't encode character '\xa0' in position 3: illegal multibyte sequence

当python要做编码转换的时候,会借助于内部的编码

2023-07-09 11:00:44