问题解决FileNotFoundError: [Errno 2] No such file or directory:
打开vscode,选择“文件”→“首选项”→“设置”,点击“用户”→“扩展”→“Python”,在右边找到“Terminal: Execute in File Dir”,勾选“When executing a file in the terminal, whether to use execute in the file’s directory, instead of the current open folder.”
————————————————
版权声明:本文为CSDN博主「奥义德德」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/weixin_43502031/article/details/110122111