天天看點

VS code運作關于turtle報錯:Module 'turtle' has no 'penup'等等

1.點選VS code界面右下角的設定

2.在設定裡面找到settings.json檔案

3.對該檔案進行編輯,添加一行 :

"python.linting.pylintArgs": ["--generate-members"]
           

即可。

繼續閱讀