如果出現(xiàn)turtle庫引用后的紅色波浪線報錯,如下: 僅需在VS Code中的settings.json添加如下代碼即可: "python.linting.pylintArgs": ["--generate-members"]