📜  在 python 代码示例中获取 wd

📅  最后修改于: 2022-03-11 14:45:28.745000             🧑  作者: Mango

代码示例1
import os

path = os.getcwd()

print(path)
# /Users/mbp/Documents/my-project/python-snippets/notebook

print(type(path))
#