python中的绝对路径和相对路径

绝对路径的三种写法: 方法1, with open(r"C:\Git\moxyrulesnewui_python\org\adv\rules\UIAutomation\testcase\test.py") as file_obj: contents = file_obj.read() print(c
posted @ 2022-05-06 23:23  Gloria_Chen  阅读(658)  评论(0编辑  收藏  举报