Python一直提示这个Unused import statement 'import xml',是什么原因
这只是提醒你导入了xml模块但没有使用,不是报错Pycharm 中file 菜单下有Invalidate caches/Restart选项,点击清除缓存重新启动Pycharm即可