摘要: 脚本中的路径信息 print('__file__:', __file__) # 脚本的位置 print('os.path.abspath(__file__)::', __file__) # 脚本的绝对路径(和上面的一般情况下是一样的) print('os.path.abspath(__file__) 阅读全文
posted @ 2024-03-06 16:40 Rainflow 阅读(15) 评论(0) 推荐(0) 编辑