vscode python 之 settings.json

{

        "python.jediEnabled": true,

        "python.linting.flake8Enabled": true,

        "python.formatting.provider": "yapf",

        "python.linting.flake8Args": ["--max-line-length=248"],

        "python.linting.enabled": true,

        "python.linting.pylintEnabled": true,

        "python.autoComplete.extraPaths": [

                    "F:\\Python\\python_base\\vscodeenv\\Lib\\site-packages",

                    "F:\\Python\\python_base\\vscodeenv\\Scripts",   ],

        "python.pythonPath": "F:\\Python\\python_base\\vscodeenv\\Scripts\\python",

}

1、使能jedi

2、设置flake8 规则检查

3、设置python模块搜索路径

4、设置python路径 

4.1 安装 pip3 install virtualenv

4.2生成virtualenv F:\Python\python_base\

 

你可能感兴趣的:(Python学习之路)