python常用函数 J

(1)join(iterable)/(2) join(str, str)

1join()连接字符串数组.2os.path.join()将多个路径组合后返回

例子:

 

 

posted @ 2018-07-19 19:07  Small_office  阅读(129)  评论(0编辑  收藏  举报