摘要: 1. 实验环境 /opt/Taobao/Selenium/demo.py 2. os # 返回当前文件名称 print(os.path.basename(__file__)) # main.py # 返回整体路径 print(os.path.realpath(__file__)) # /opt/Ta 阅读全文
posted @ 2022-12-24 18:08 LeoShi2020 阅读(127) 评论(0) 推荐(0) 编辑