如何在 Python 中获取 %APPDATA%
目录的路径?
最佳答案
import os
print os.getenv('APPDATA')
关于python - 如何在 Python 中获取 %APPDATA% 目录的路径?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13184414/
如何在 Python 中获取 %APPDATA%
目录的路径?
最佳答案
import os
print os.getenv('APPDATA')
关于python - 如何在 Python 中获取 %APPDATA% 目录的路径?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13184414/
相关文章:
python - 在 Python 3 中使用带有多个文件的 gzip 存档
javascript - 'style ="border:none; overflow:hidden; height:80px"' 通过 python re.sub 到 js 对象
python - 使用请求在 Python 中搜索网站时出现 502 错误
c# - 获取登录用户的 AppData\Local 文件夹
python - 如何找到正确的 xpath 并循环遍历表?
python - ArtistAnimation 与 FuncAnimation matplotlib 动画 matplotlib.animation