vscode软件配置
安装以下插件:
anaconda terminal
chinese
jupyter
jupyter cell tags
jupyter keymap
markdown all in one
paste image
python
pylance
python debugger
fitten code
path intellisense
python indent
vscode-icons
Auto Close Tag
软件设置调整:
把Pycharm写好的python程序放到VsCode去运行,文件路径总是报错,主要原因可能是VSCode默认使用项目文件夹根目录作为工作目录。
这会使得子文件夹中的程序无法使用相对路径。
点击 File --->Preference(首选项) --->Settings, 搜索 Execute in File Dir,勾选Execute in File Dir。

浙公网安备 33010602011771号