python 路径拼接

>>> import os
>>> os.path.join('/hello/','good/boy/','doiido')
>>>'/hello/good/boy/doiido'

参考:
https://blog.csdn.net/fu6543210/article/details/80032895

猜你喜欢

转载自www.cnblogs.com/sea-stream/p/11431298.html