VSCode使用总结之——使用VSCode开发Python项目

交互式Python代码测试

Ctrl+Shift+P,输入Python:Show Python Interactive Window,会打开Jupyter交互,
或者输入Python:Start REPL,会打开终端交互

https://code.visualstudio.com/docs/python/jupyter-support-py

OpenCV-Python的提示问题

在项目settings.json中写入:
"python.linting.pylintArgs": ["--extension-pkg-whitelist=cv2"]

或者写入到全局setting中:
https://github.com/PyCQA/pylint/issues/2426
https://github.com/microsoft/vscode-python/issues/1993

你可能感兴趣的:(开发笔记,visual,studio,code)