python里./是什么意思
时间: 2024-01-08 08:03:24 浏览: 465
在Python中,"./"表示当前目录。当使用相对路径时,"./"可以用来指示当前工作路径。例如,如果你想打开当前目录下的一个文件,你可以使用"./filename"来表示该文件的相对路径。这样,Python就会在当前目录中查找该文件。引用\[1\]
#### 引用[.reference_title]
- *1* *3* [python中的./与../](https://blog.csdn.net/weixin_44321570/article/details/127192200)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [Python3相对路径符号斜杠 (/),点斜杠(./),点点斜杠(../)的意思](https://blog.csdn.net/qq_40564301/article/details/112886578)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文