{"id":10006649,"date":"2022-10-08T19:36:33","date_gmt":"2022-10-08T11:36:33","guid":{"rendered":"https:\/\/ityet.com\/?p=10006649"},"modified":"2022-10-08T19:36:33","modified_gmt":"2022-10-08T11:36:33","slug":"9-%e6%9c%88%e6%9b%b4%e6%96%b0-visual-studio-code-python","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10006649","title":{"rendered":"9 \u6708\u66f4\u65b0 | Visual Studio Code Python"},"content":{"rendered":"<p>\u6211\u4eec\u5f88\u9ad8\u5174\u5730\u5ba3\u5e03\uff0c2022 \u5e74 9 \u6708\u53d1\u5e03\u7684\u9002\u7528\u4e8e Visual Studio Code <a href=\"https:\/\/link.segmentfault.com\/?enc=f7ivzgxToIYVD3l7QD3mGg%3D%3D.%2FIsoT2YbaBUd5XHSwvudCMz%2FhdZzFcl5tMd%2FOOPjVftKmH2zf7ajPK4BHbBAlrxPBeH9j82WT4HZuecNOzOkJDipbt%2B69Cs66GD6ZsT9jRE%3D\" rel=\"nofollow\">Python<\/a>\u548c<a href=\"https:\/\/link.segmentfault.com\/?enc=Vr1IbWF9uP1M7MmSzjQ3cQ%3D%3D.6Vb%2BapRUSJBFkMtVrpjjlgoggJGoQEo50lwaDGOj7LwRx9meLUfTrHIj1NBqT%2BmwB%2BIUgp0uQJ3mQIHE%2B%2Bytpbei3JpjL7KnUPw8Dyahq9M%3D\" rel=\"nofollow\">Jupyter<\/a>\u6269\u5c55\u73b0\u5df2\u63a8\u51fa\uff01<\/p>\n<p>\u6b64\u7248\u672c\u5305\u62ec\u4ee5\u4e0b\u6539\u8fdb\uff1a<\/p>\n<ul>\n<li>\u6539\u8fdb\u4e86\u5bf9 Jupyter \u7b14\u8bb0\u672c\u7684 IntelliSense \u652f\u6301<\/li>\n<li>\u4e00\u4e2a\u65b0\u7684 Flake8 \u6269\u5c55<\/li>\n<li>\u8bd5\u884c\u529f\u80fd\uff1a\u6539\u8fdb\u7684\u5355\u5143\u6d4b\u8bd5\u548c\u7b14\u8bb0\u672c\u56fe\u50cf\u7c98\u8d34<\/li>\n<\/ul>\n<p>\u5982\u679c\u60a8\u6709\u5174\u8da3\uff0c\u53ef\u4ee5\u5728\u6211\u4eec\u7684\u66f4\u65b0\u65e5\u5fd7\u4e2d\u67e5\u770b<a href=\"https:\/\/link.segmentfault.com\/?enc=B0%2BcbUhlZxHAZxHGf93GvQ%3D%3D.NTRDkq%2BqPmurX5J78y6Tayh0qMs%2BswpJS3NygwZ2JhJ3HzrFO3eq2XJLa3h5YGzv2%2F3bMaUR8Mx%2BY2v2UficeGdsAq8LxaNvoIuXWgKC9Wk%3D\" rel=\"nofollow\">Python<\/a>\u3001<a href=\"https:\/\/link.segmentfault.com\/?enc=rbLGW%2Bu4brXlvg7jKGQaqw%3D%3D.SHBFEcNJkh%2BDQR%2FVOOaT%2B%2FdaqXIe5PXTzvUrOj8DKp48sxDwJ8eUBfw0Rmu1PKfvAnVchaOM6d0KDwRM%2F4buKd8QCR754g7xmEQ%2Byk8qb%2FGGRNdwWRVUikPvZUpJ4j7v\" rel=\"nofollow\">Jupyter<\/a>\u548c<a href=\"https:\/\/link.segmentfault.com\/?enc=BXQjSztd8XKG9WTtSlh%2Fmg%3D%3D.IRQoUxgwy1k5I1XKIjsSlmqIUdUersuYxNG3VVGCOOL%2FqbqEUNDb8Ld23Cfop2VXzwyaLmAntKoM6ferzXkj1Wvg26Q4zJxrMFCIv07XzH80GX%2BRh53DGKfCgU1NRISJ\" rel=\"nofollow\">Pylance<\/a>\u6269\u5c55\u7684\u5b8c\u6574\u6539\u8fdb\u8bb0\u5f55\u3002<\/p>\n<h2><strong>\u6539\u8fdb\u4e86\u5bf9 Jupyter \u7b14\u8bb0\u672c\u7684 IntelliSense \u652f\u6301<\/strong><\/h2>\n<p>\u73b0\u5728\u5bf9\u4e8e\u4f7f\u7528 Python \u5185\u6838\u7684 Jupyter Notebook \uff0c\u5728\u4f7f\u7528<a href=\"https:\/\/link.segmentfault.com\/?enc=4rhcI0bjij7JUcTkSKk9Sw%3D%3D.oYioYTAodIxos%2FONTVXCHuHkq0JNBx5Lsm6ypbz8Uvwi0FGeY3ucCmDB2jICSGqvJze6vcGyYkpr5WbZ2PN42R%2FchqneYAT5GhskLJkYtwE%3D\" rel=\"nofollow\">Pylance<\/a>\u65f6\uff0c <a href=\"https:\/\/link.segmentfault.com\/?enc=J2vIdsue8g%2BJR%2FTED9SgAw%3D%3D.UOmgbib2V8HHuFA80YxGtMHROwZ2zp1k0Hl%2BcSh7jnEDkEBVUysvVk%2FoeEjiteiEHUd2SXcfQ%2FrXOt%2Fg8Nm7Z84popwdobC36QfKTs9W%2FEw%3D\" rel=\"nofollow\">IntelliSense<\/a>\u652f\u6301\u53d8\u5f97\u66f4\u52a0\u5b8c\u5584\uff0c\u8fd9\u8981\u5f52\u529f\u4e8e<a href=\"https:\/\/link.segmentfault.com\/?enc=SISmg4ASS6yTlvMJbIxRSg%3D%3D.RvJTlKqtL2WQ9Iqk%2BjwnLUov0rSISzewthyV7MXmbPIlvq%2FNc51K5%2Btevn0rrb%2FfZsu6NfatFTjMwSgjlQM1CHDpsA1YkTkwIgLBzRAXW7KVuUJBE9k6rnzcp2m3fNRXfj4WApMSmITZ7bjYfPTOCwdiwMTNWa8zmbcCRuDduTI%3D\" rel=\"nofollow\">\u8bed\u8a00\u670d\u52a1\u5668\u534f\u8bae\u4e2d\u7684\u66f4\u65b0<\/a>\u5bf9Jupyter\u7684\u652f\u6301\u3002<br \/>\u5728\u7b14\u8bb0\u672c\u6587\u4ef6\u4e2d\u7f16\u5199 Python \u4ee3\u7801\u65f6\uff0c\u60a8\u4e0d\u4ec5\u4f1a\u83b7\u5f97\u6539\u8fdb\u7684\u81ea\u52a8\u5b8c\u6210\u5efa\u8bae\uff0c\u800c\u4e14\u8fd8\u53ef\u4ee5\u4f7f\u7528\u91cd\u6784\u529f\u80fd\uff0c\u4f8b\u5982\u63d0\u53d6\u53d8\u91cf\u3001\u63d0\u53d6\u65b9\u6cd5\u4ee5\u53ca\u81ea\u52a8\u5bfc\u5165\u3002<\/p>\n<p><a href=\"\"><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000042582611\" alt=\"\" title=\"\" loading=\"lazy\"><\/a><\/p>\n<p>\u4e3b\u9898\uff1a<a href=\"https:\/\/link.segmentfault.com\/?enc=R%2FC9Tu6Cr4NvOAVITAmHxQ%3D%3D.d2h6xq5AzxQdAkS%2BDjHKj%2F0cGEI1MDwLecqxIpudbhtADozhmv%2Bv%2BeAJDxVYEE2sUd%2BcFap%2FWFgPdkE3vVi8aBFWtnE2nimLiI0XALz1ZhTU5HUovfL%2FzErYVTfKKs%2Bg\" rel=\"nofollow\">Horizon Extended<\/a><\/p>\n<h2>Flake8 \u6269\u5c55<\/h2>\n<p>\u5728\u53d1\u5e03<a href=\"https:\/\/link.segmentfault.com\/?enc=%2F2j2YITxDY2H7tbHRytjyA%3D%3D.pNdHwAPP0OE8WWQ8bZ9qPQAjVfz1Dz50Roz6ScwgONCeJaCPYiqwqE9mpZcczmxEfxc7lmtnz0etVL8cAJ1QGKuURgSeVzo01dv6473xvSc%3D\" rel=\"nofollow\">pylint<\/a> \u3001<a href=\"https:\/\/link.segmentfault.com\/?enc=yyabwM5JmPtiVikxsxNpdQ%3D%3D.%2F5fpORSOgrLuHEx1NhJtbxC77Nkm693RWTb3Ze4tzsQw8b818IGb1N1d8iiKThW9Q4ccaDebNZUzjCTxYtjQqtFeqqDxeA45rV7whs78EQA%3D\" rel=\"nofollow\">black<\/a>\u548c<a href=\"https:\/\/link.segmentfault.com\/?enc=V3XnCZNfP5MjIGeXAjOxLw%3D%3D.7hirx55I109sM5M78jCgEaTfmv%2BMBzx8r6R87kkXqT3gcx1iYsTYaVMyYMVAXql4C59ikJPnNvkF8uJCnTUXHFtF4LdVGk%2F5M4a0Dftfdm4%3D\" rel=\"nofollow\">isort<\/a>\u6269\u5c55\u4e4b\u540e\uff0c\u6211\u4eec\u73b0\u5728\u5f88\u9ad8\u5174\u5730\u5ba3\u5e03\u6211\u4eec\u6709\u4e86\u4e00\u4e2a\u65b0\u7684<a href=\"https:\/\/link.segmentfault.com\/?enc=%2FMx3Hpiy0s2FngyrUx%2ByTQ%3D%3D.x7XasVReSUG85ZcjLOC6COX3ConKOXITy3QBXpJcVGTtVEWzSBls0Zk5tXzGiKYHwuJ2qJvQLNamFBnbF0mWjdu1sTH9MTNjJljaDp2bn68%3D\" rel=\"nofollow\">flake8 \u6269\u5c55<\/a>\uff01\u4e0e\u5176\u4ed6\u6269\u5c55\u4e00\u6837\uff0c\u8fd9\u4e2a\u65b0\u6269\u5c55\u4f7f\u7528\u8bed\u8a00\u670d\u52a1\u5668\u534f\u8bae\u6765\u63d0\u4f9b linting \u652f\u6301\uff0c\u5e76\u4e14\u7531\u4e8e\u5b83\u9644\u5e26\u6700\u65b0\u7248\u672c\u7684 Flake8\uff0c\u56e0\u6b64\u60a8\u4e0d\u518d\u9700\u8981\u5728 Python \u73af\u5883\u4e2d\u5b89\u88c5Flake8\u3002<\/p>\n<p>\u60a8\u53ef\u4ee5\u76f4\u63a5\u5c06\u5b83\u4e0e Pylint \u6269\u5c55\u4e00\u8d77\u4f7f\u7528\uff0c\u56e0\u4e3a\u4e8c\u8005\u5e76\u4e0d\u51b2\u7a81\uff1a<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc2PcK\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u4e3b\u9898\uff1a<a href=\"https:\/\/link.segmentfault.com\/?enc=jYfBBrF0N9lfSEOs29EkEQ%3D%3D.uFV%2FpEKZP7xQh6nKQZQDZ%2BaRkw0jGv6ME6rs7XkbpQeS7pnN7feFLJYuqUsoorQz5RqYmvC9kKPqGDzKuPomW9jYOzYc5IXN9RUxNHJC0pt6FSrLxXWc9ChpSpFKBjTR\" rel=\"nofollow\">Horizon Extended<\/a><\/p>\n<p>\u60a8\u53ef\u4ee5<a href=\"https:\/\/link.segmentfault.com\/?enc=jHMepATBWVTVaxZTOTGtSw%3D%3D.WghkhDXQ5HMf8MzHeE9Rhr4T4a5qnhMZIGeC4iSxmsLjsHPZ1rrUVzux3%2FGJpGyuCs2dRLjf2jcTzcCGHXKqfu%2F%2FUFicz6spN1qVFJ1IfoY%3D\" rel=\"nofollow\">\u4ece\u5e02\u573a\u4e0a\u5b89\u88c5<\/a>\u8fd9\u4e2a\u65b0\u6269\u5c55\u6765\u8bd5\u7528\u5b83\u3002\u5982\u679c\u60a8\u6709\u4efb\u4f55\u95ee\u9898\u6216\u529f\u80fd\u8bf7\u6c42\uff0c\u53ef\u4ee5\u5c06\u5b83\u4eec\u63d0\u4ea4\u5230<a href=\"https:\/\/link.segmentfault.com\/?enc=YbldPB7WokO8SrnhdfA%2BwA%3D%3D.bMMW1Qzni728hzCJ%2F%2FK%2ByusCA%2FwAYaMHdiKdsqPigXRtTqDAwpO7UIdLqRRMMkuZKyFO%2BW8rYYzA7mvEUXrzb8EL0XxTT0Fp%2FDmbZ7WstB8%3D\" rel=\"nofollow\">Flake8 \u6269\u5c55\u7684 GitHub \u5b58\u50a8\u5e93<\/a>\u3002<\/p>\n<h2>\u8bd5\u884c\u529f\u80fd\uff1a\u6539\u8fdb\u7684\u5355\u5143\u6d4b\u8bd5\u548c\u7b14\u8bb0\u672c\u56fe\u50cf\u7c98\u8d34<\/h2>\n<h4><strong>\u6539\u8fdb\u7684 unittest \u652f\u6301<\/strong><\/h4>\n<p>\u4eca\u5e74\u590f\u5929\uff0cPython \u6269\u5c55\u56e2\u961f\u5f88\u9ad8\u5174\u5730\u8fce\u6765\u4e86\u4e00\u4f4d\u65b0\u5b9e\u4e60\u751f<a href=\"https:\/\/link.segmentfault.com\/?enc=oiHFlAR1a7nWZz%2Bn1vOYoQ%3D%3D.O2MGyDZEqHtDEQP4MARm8%2BQnEleyBQsea9fRI71xDRCxCuXONFc54lCfPtBxXQdT\" rel=\"nofollow\">Anthony Kim<\/a>\u3002\u5728\u5b9e\u4e60\u671f\u95f4\uff0c\u4ed6\u81f4\u529b\u4e8e<a href=\"https:\/\/link.segmentfault.com\/?enc=%2FPXY5Jwo3OeM5btpfgNd5w%3D%3D.hRFS9PeNIBP0tor3BfbgNXUi%2B%2BQRIsYJnzJNIsRLzG5w%2Bxy3%2F%2BnpDSMVe7BGa%2FsUXQXXTE4a%2Fw5pp%2FtrgnmW4fuaZCX4t49bVY%2BJbfL0lq0%3D\" rel=\"nofollow\">\u6539\u8fdb\u4f7f\u7528 unittest \u8fd0\u884c\u6d4b\u8bd5<\/a>\u3002\u4ed6\u8fd8\u5f00\u59cb\u7814\u7a76\u5982\u4f55\u5728 Python \u6269\u5c55\u4e2d\u6539\u8fdb\u5bf9 pytest \u7684\u652f\u6301\uff0c\u4f46\u4e0d\u5e78\u7684\u662f\uff0c\u4ed6\u5728\u6211\u4eec\u8fd9\u91cc\u7684 12 \u5468\u65f6\u95f4\u592a\u77ed\u4e86\uff0c\u65e0\u6cd5\u5b9e\u65bd\u8fd9\u4e9b\u989d\u5916\u7684\u66f4\u6539\u3002<br \/>\u56e2\u961f\u6b63\u5728\u7ee7\u7eed\u4ed6\u7684\u6539\u8fdb\u5de5\u4f5c\uff0c\u8bf7\u6301\u7eed\u5173\u6ce8\u6211\u4eec\u5bf9pytest\u7684\u6539\u8fdb\u3002<\/p>\n<h4><strong>\u7b14\u8bb0\u672c\u56fe\u7247\u7c98\u8d34<\/strong><\/h4>\n<p>\u6211\u4eec\u8fd8\u6b22\u8fce<a href=\"https:\/\/link.segmentfault.com\/?enc=hbzsZvopN1lgmqjXkapl8g%3D%3D.fl1GMX5BIcVe4L9kbNCY%2B79o5sRYA4535shW8PRijMB%2BvhGlNSGxtVYdViIiquOK\" rel=\"nofollow\">Michael Lively<\/a>\u6210\u4e3a\u6211\u4eec\u7684 Jupyter \u6269\u5c55\u56e2\u961f\u5b9e\u4e60\u751f\uff0c\u4ed6\u7684\u5de5\u4f5c\u662f\u5c06\u5c4f\u5e55\u622a\u56fe\u548c\u56fe\u50cf\u6587\u4ef6\u7c98\u8d34\u5230\u7b14\u8bb0\u672c\u4e2d\u7684 Markdown \u5355\u5143\u683c\u4e2d\u3002<\/p>\n<p><a href=\"https:\/\/link.segmentfault.com\/?enc=j5mO99MS9Niv0EFDW%2F%2B68A%3D%3D.kEF5Th2iIlC933dsR5MRYhlJgXg%2FMvainjl1s88UaYrSJtc%2FPjRJbVPuOIu%2B%2BhqYxDd%2BSGRODnMlXQkYpLbr0OtZu82FCN%2BKmmFEOomsGzDb1g%2B%2F5PdB%2FPGPgIukNHoo7nTXXLdCX11uTPQ8wAuCZg%3D%3D\" rel=\"nofollow\"><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000042582612\" alt=\"\" title=\"\" loading=\"lazy\"><\/a><\/p>\n<p>\u5b83\u76ee\u524d\u652f\u6301 image\/png\u7c7b\u578b\uff0c\u60a8\u53ef\u4ee5\u6dfb\u52a0\u4ee5\u4e0b\u8bbe\u7f6e\u6765\u4f7f\u7528\u8be5\u529f\u80fd\uff1a<br \/>&#8220;ipynb.experimental.pasteImages.enabled&#8221;: true<br \/>&#8220;editor.experimental.pasteActions.enabled&#8221;: true<\/p>\n<p>\u56e2\u961f\u5c06\u7ee7\u7eed\u6539\u8fdb\u6b64\u529f\u80fd\u4ee5\u652f\u6301\u4e0d\u540c\u7684\u56fe\u50cf\u7c7b\u578b\u3002<\/p>\n<p>\u6211\u4eec\u8981\u611f\u8c22\u4e24\u4f4d\u5b9e\u4e60\u751f\u7684\u8f9b\u52e4\u5de5\u4f5c\uff0c\u540c\u65f6\u5e0c\u671b\u4ed6\u4eec\u559c\u6b22\u8fd9\u6b21\u5b9e\u4e60\uff01\u5982\u679c\u60a8\u6709\u5174\u8da3\u4e86\u89e3\u6709\u5173 Anythony \u9879\u76ee\u7684\u66f4\u591a\u4fe1\u606f\uff0c\u60a8\u53ef\u4ee5\u67e5\u770b\u7531\u6211\u4eec\u7684\u56e2\u961f\u6210\u5458\u5171\u540c\u4e3b\u6301\u7684 <a href=\"https:\/\/link.segmentfault.com\/?enc=zvK5EliFIDXDLOSUV%2BeFiw%3D%3D.k44L2an15Fn0dQTkAoliSpwhCoGMSq96s1tFkEKTkzT1OimNk6FmH1R%2Fcu%2BpxkDsC62hl7jPvqHK7AIiccRQLBCFbfRHZdDawAbFSiXtWU%2Bdc7kqhxlCSrndajMRpZvA\" rel=\"nofollow\">Sad Python Girls Club Podcast \u7684\u7b2c 6 \u96c6<\/a>\u3002<\/p>\n<h4><strong>\u5176\u4ed6\u66f4\u6539\u548c\u589e\u5f3a<\/strong><\/h4>\n<p>\u6211\u4eec\u8fd8\u6dfb\u52a0\u4e86\u4e00\u4e9b\u5c0f\u7684\u589e\u5f3a\u529f\u80fd\u5e76\u4fee\u590d\u4e86\u7528\u6237\u8bf7\u6c42\u7684\u95ee\u9898\uff0c\u8fd9\u4e9b\u529f\u80fd\u5e94\u8be5\u53ef\u4ee5\u6539\u5584\u60a8\u5728 Visual Studio Code \u4e2d\u4f7f\u7528 Python \u548c Jupyter Notebooks \u7684\u4f53\u9a8c\u3002\u4e00\u4e9b\u663e\u7740\u7684\u53d8\u5316\u5305\u62ec\uff1a<\/p>\n<ul>\n<li>\u60a8\u73b0\u5728\u53ef\u4ee5\u901a\u8fc7\u9009\u62e9\u5668\u4e2d\u7684\u65b0\u6309\u94ae\u6e05\u9664\u548c\u5237\u65b0 Python \u89e3\u91ca\u5668\u5217\u8868( <a href=\"https:\/\/link.segmentfault.com\/?enc=xXqVQaIUYEDMU6ekt9pUbw%3D%3D.6TayeMiEDcXfGDaDz0uPuo9xUbm11DmVZUVYPCriEauV1uN7u9%2B9gY6gowxgfh%2F3woVztPnmNrTBQL80LrJoYZ4xK6U4QeorqsdP2vPJ%2B3Y%3D\" rel=\"nofollow\">vscode-python#19628<\/a> )\u3002<\/li>\n<li>Debugpy \u5df2\u66f4\u65b0\u5230\u7248\u672c 1.6.3 ( <a href=\"https:\/\/link.segmentfault.com\/?enc=lKJhzC7UJCidBUzD3o5h1Q%3D%3D.q%2Bof8eqHuYodYgA2ch6bgShwU2WIwQHaPnf0vE5NjV%2BjWjdgnHz5u%2BKIQEgJLRSw7HSi0VUJ5bUiEmXz3LFhcx1Usn6h38u4myu%2FSLF5EUY%3D\" rel=\"nofollow\">vscode-python#19698<\/a> )<\/li>\n<li>\u5728 Jupyter \u4e2d\u5bfc\u5165 Python \u6a21\u5757\/\u6587\u4ef6\u65f6\uff0cPylance \u73b0\u5728\u4e0d\u518d\u663e\u793a\u9519\u8bef\u8b66\u544a( <a href=\"https:\/\/link.segmentfault.com\/?enc=x61GeRQ6ya43l7Yd8ujuLw%3D%3D.CQs32Sa5vq6Gnid4f%2BooKhV87wn69hWKB4dsqMaELkBv2SnYBGZ8rtNlCnro3UkeSwMVqDA4Lz9d293QAkqUoSuo5CqK9AVtln0CruE9QcQ%3D\" rel=\"nofollow\">pylance-release#3017<\/a> )\u3002<\/li>\n<li>\u4f7f\u7528 Pylance\u65f6\uff0c\u5728 Jupyter \u4e2d\u4e0d\u540c\u5355\u5143\u683c\u4e4b\u95f4\u91cd\u547d\u540d\u7b26\u53f7\u4e0d\u518d\u5931\u8d25( <a href=\"https:\/\/link.segmentfault.com\/?enc=%2BNBuAAIv8kxzDYfBCBxVzA%3D%3D.Pdtelu4%2BE0zrTj%2Fta3FFYehOm6U4R3KF1WQ6GL43fbsQ6mSsV9i%2BFiB%2F%2FuH5JmblbatuEL57JPArl41CDvK7HF3krybKqSfNALQCapgCXPM%3D\" rel=\"nofollow\">pylance-release#3061<\/a> )\u3002<\/li>\n<li>\u7531\u4e8e matplotlib \u7c7b\u578b\u5b58\u6839\u7684\u66f4\u65b0\uff0c\u4f7f\u7528 Pylance \u65f6 IntelliSense \u5bf9 matplotlib \u7684\u652f\u6301\u5f97\u5230\u4e86\u6539\u8fdb( <a href=\"https:\/\/link.segmentfault.com\/?enc=YIZ3GCvbw8IV7lSQcuy6fg%3D%3D.1TLc5f%2Fz%2FbV0yPk11WEOEYNjSIKAvBBDpZyLPHNnF%2F5u8lsXiJOBCy2ZyDTQK%2B6mLZfT9M1427uRkN2o6lKvTaZZm%2FR4D1f%2FMG2WHjp0hv8%3D\" rel=\"nofollow\">python-type-stubs#223<\/a> )\u3002<\/li>\n<\/ul>\n<p>\u6211\u4eec\u8fd8\u8981\u7279\u522b\u611f\u8c22\u672c\u6708\u7684\u8d21\u732e\u8005\uff1a<\/p>\n<ul>\n<li><a href=\"https:\/\/link.segmentfault.com\/?enc=NtkVFyEVxNErQPdf9ATguQ%3D%3D.rUheSp%2BV5TmlaWupHeoal6vvDtjiD7atij8bac2gLwU98IWFfxEQDi%2FMIAs56jpS\" rel=\"nofollow\">cpinamtz<\/a>\uff1a\u4fee\u590d\u4e0d\u5728\u8d77\u59cb\u8def\u5f84\u7684 HOME \u6587\u4ef6\u5939\u66ff\u6362\uff08<a href=\"https:\/\/link.segmentfault.com\/?enc=lAGQem%2BAg6UkH01kCdOV0Q%3D%3D.8CCnaS2e4lx%2FDoeBZWkMOVWET%2FGr46SGl4ovTvh7rt%2BAlhh5%2B%2FCjYw4qKNdh3rSqCzZHXjuFvd4anb1wC0QcVMa8Kj1C5M9c7EpReAS6c84%3D\" rel=\"nofollow\">vscode-python#19326<\/a>\uff09\u3002<\/li>\n<li><a href=\"https:\/\/link.segmentfault.com\/?enc=SHWxFc67pxRRJwyeqsZmXg%3D%3D.xhRd1b7siop92N78OoHfWVxc84QvnB7i62xEH2l9BSBlhSIXO8vg%2BWWtUT4bLhjn\" rel=\"nofollow\">parched<\/a>\uff1a\u4ec5\u663e\u793a pytest \u53c2\u6570\u5316\u6d4b\u8bd5\u7684 args ( <a href=\"https:\/\/link.segmentfault.com\/?enc=8J6zs0Ll%2B9bKwYieqICdtQ%3D%3D.7YdDmVCSTpPuiKX%2F8LupQKV%2BlZQ%2Ftabs%2Fk580FXH6HvRUUm%2Fh%2Fj1k2ydBUVLJxgWEGAWhTFiJBlagFr7mknueNmBN0ddTbbUfkxs7eQYatQ%3D\" rel=\"nofollow\">vscode-python#19479<\/a> )\u3002<\/li>\n<\/ul>\n<p>\u901a\u8fc7\u4ece Marketplace\u66f4\u65b0\u6216\u4e0b\u8f7d <a href=\"https:\/\/link.segmentfault.com\/?enc=tE2nYvI%2FABKVBkJkv50WiA%3D%3D.0DHlCjmebwPfHtzF11Xxstz2koogFU2S1d%2BTrfNeLlL3C9TErwFiBvc2LqEfzGa5ldopf%2Fdb9RVfpGFHqgx6XC5fH3seg064uTNYHzMw2oo%3D\" rel=\"nofollow\">Python \u6269\u5c55<\/a> \u548c<a href=\"https:\/\/link.segmentfault.com\/?enc=u9u4xrJXNFBVB9Xbrp2Wdw%3D%3D.sCygGwvqe3H5YKJR52gVLlWGtE8e9ls3%2FnYWGtN6LX2%2BavWKv6vPDw%2FSSfvG3d%2BbImAZ3QMjSzrVVXNowkGlzx%2FwKA7Zmd11GvJTpoLcmwo%3D\" rel=\"nofollow\">Jupyter \u6269\u5c55<\/a>\u6765\u5c1d\u8bd5\u8fd9\u4e9b\u65b0\u6539\u8fdb \uff0c\u6216\u8005\u76f4\u63a5\u4ece Visual Studio Code \u4e2d\u7684\u6269\u5c55\u89c6\u56fe\u5b89\u88c5\u5b83\u4eec\uff08Ctrl + Shift + X \u6216 \u2318 + \u21e7 + X\uff09\u3002\u60a8\u53ef\u4ee5\u5728<a href=\"https:\/\/link.segmentfault.com\/?enc=9obLAgDwt%2B92rBmnogAJ6Q%3D%3D.crBcPCYE5VYhCvC7%2Bl5W2DLnXY8sW4hudlrHZ%2BCNQvrXfYoEMi%2F09cTiVh%2Bn6PXm2s4PrUfZGJbHBCIPQAAhtpBe0r9A6qPUcq0zafY16aA%3D\" rel=\"nofollow\">\u6587\u6863<\/a>\u4e2d\u4e86\u89e3\u6709\u5173 Visual Studio Code Python \u7684\u66f4\u591a\u4fe1\u606f\u3002\u5982\u679c\u60a8\u9047\u5230\u4efb\u4f55\u95ee\u9898\u6216\u6709\u5efa\u8bae\uff0c \u8bf7 \u5728 Python VS Code <a href=\"https:\/\/link.segmentfault.com\/?enc=4k5AYUs0sxmSOVjk%2BF%2BkJA%3D%3D.QXlEr%2FzodmGsD0RDvbLwc59XQtEx5ZKInDHP8KRqxyzjU1X33Kk5%2FSm7Hn5hMIXi6ZlKH69ENjbAX09afDorKw%3D%3D\" rel=\"nofollow\">GitHub<\/a> \u9875\u9762\u4e0a<a href=\"https:\/\/link.segmentfault.com\/?enc=fo1ddoe8zR%2FHeq%2BMPE4ttw%3D%3D.y5YZj05K49Nv2P9I3O8j1Tw%2BfhVmXB1biHOXeHV%2Fl0DzqiK4LCMbWEBSRvqsAx5ZC3pohfTnDRzryHBh0WR8lCKWVw84ifaGa4dc2xzsnxQ%3D\" rel=\"nofollow\">\u63d0\u51fa\u95ee\u9898<\/a>\u3002 <\/p>\n<p>\u6b22\u8fce\u524d\u5f80 Python in Visual Studio Code \u5b98\u65b9\u7ad9\u70b9\uff0c\u4e86\u89e3\u66f4\u591a\u3002<br \/><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc199w\" alt=\"\u56fe\u7247\" title=\"\u56fe\u7247\" loading=\"lazy\"><\/p>\n<p><a href=\"https:\/\/link.segmentfault.com\/?enc=WGJqNbC9MXXwIBOj9WHWYw%3D%3D.cseBPlVyY9kKHjZI%2B9sW12FAjqUhN4j0db2SeSuvGPXH31QQ%2FxpnDvmCnF2KREJJKoc2MEwOFnQTA8WDpaH9tmuAbFFR%2BV2Gq9Zx5ZQYpI8%3D\" rel=\"nofollow\">\u70b9\u51fb\u524d\u5f80\u5b98\u65b9\u6587\u6863~<\/a><\/p>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000042582608\">https:\/\/segmentfault.com\/a\/1190000042582608<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u4eec\u5f88\u9ad8\u5174\u5730\u5ba3\u5e03\uff0c2022 \u5e74 9 \u6708\u53d1\u5e03\u7684\u9002\u7528\u4e8e Visual Studio Code Python\u548cJup [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[],"tags":[],"class_list":["post-10006649","post","type-post","status-publish","format-standard","hentry"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10006649","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10006649"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10006649\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10006649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10006649"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10006649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}