vscode python 无法引入上层目录解决

在vscode 中.vscode 配置如下

{

// Use IntelliSense to learn about possible attributes.

// Hover to view descriptions of existing attributes.

// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387

"version": "0.2.0",

"configurations": [

{

"name": "Python: Current File",

"type": "python",

"request": "launch",

"program": " f i l e " , " c o n s o l e " : " i n t e g r a t e d T e r m i n a l " , " j u s t M y C o d e " : f a l s e , " c w d " : " {file}", "console": "integratedTerminal", "justMyCode": false, "cwd":" file","console":"integratedTerminal","justMyCode":false,"cwd":"{fileDirname}",

"env": {"PYTHONPATH": "${cwd}"}

}

]

}

相关推荐
我也有在努力17 分钟前
禁用 idea 屏幕阅读器功能 idea support screen readers
java·ide·intellij-idea
程序员爱钓鱼37 分钟前
Python 实战:如何读取多格式 Excel 并实现跨表匹配合并(支持 XLS / XLSX)
后端·python·面试
程序员爱钓鱼43 分钟前
Python编程实战:实现一个 Excel 批量处理工具(桌面实用脚本)
后端·python·ipython
Solyn_HAN1 小时前
Python 生信进阶:Biopython 库完全指南(序列处理 + 数据库交互)
python·生物信息学·biopython
九河_1 小时前
解决pip install gym==0.19.0安装失败问题
开发语言·python·pip·gym
iamohenry3 小时前
古早味的心理咨询聊天机器人
python·自然语言处理
Blossom.1187 小时前
移动端部署噩梦终结者:动态稀疏视觉Transformer的量化实战
java·人工智能·python·深度学习·算法·机器学习·transformer
静若繁花_jingjing7 小时前
IDEA下载
java·ide·intellij-idea
AiXed7 小时前
PC微信协议之AES-192-GCM算法
前端·数据库·python
灵光通码7 小时前
神经网络基本概念
python·神经网络