Python代码
-
Python 常用代码 打开文件操作(1)
def listurl(path,encode=UTF-8-sig): list_l = [] with open(path, r, encoding=encode) as r: while 1: red = r.readline().split(\n)[0] L.append(red) if not red: break list_l = [x for x in L if x != ] retur...
-
共 1页1条记录