Python路径表示方法 一 更换为绝对路径的写法func1("C:\Users\renyc") 二 显式声明字符串不用转义(加r)func1(r"C:Users enyc") 三 使用Linux的路径/func1("C:/Users/renyc")