python 拼接路径 os 模块os.path.join()

c_path = os.path.join(os.getcwd(),'selenium1')
print(c_path)

D:\SC\pytest_song\selenium1

猜你喜欢

转载自blog.csdn.net/weixin_45598506/article/details/108245257