了解更多关注微信公众号“木下学Python”吧~
https://www.cnblogs.com/monsteryang/p/6574550.html
python中os.path常用模块:
[https://blog.csdn.net/u014717398/article/details/59524617](https://blog.csdn.net/u014717398/article/details/59524617)
连接路径:
import os filename = '123'print(os.path.join('cash',filename)) >>>cash\123