美文网首页
Python创建文件夹之 import os

Python创建文件夹之 import os

作者: 木下瞳 | 来源:发表于2019-07-26 09:49 被阅读0次

    了解更多关注微信公众号“木下学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
    

    相关文章

      网友评论

          本文标题:Python创建文件夹之 import os

          本文链接:https://www.haomeiwen.com/subject/gcdkrctx.html