摘要: 一. os.path.realpath(__file__) 文件的当前绝对路径(包含文件名) 例子:path=os.path.realpath(__file__)print("os.path.realpath(__file__)方法的结果是:{0}".format(path)) 运行结果: 二. o 阅读全文
posted @ 2022-04-28 11:40 听海8 阅读(1340) 评论(0) 推荐(0) 编辑