文件路径截取: 1 >>> import os 2 >>> path = ‘/etc/singfor/passwd/sunny/test.log’ 3 >&g … Continue reading python之文件路径截取 & endswith()
文件路径截取: 1 >>> import os 2 >>> path = ‘/etc/singfor/passwd/sunny/test.log’ 3 >&g … Continue reading python之文件路径截取 & endswith()