Python面試題目

Python基礎 文件操做 1.有一個jsonline格式的文件file.txt大小約爲10K def get_lines(): with open('file.txt','rb') as f: return f.readlines() if __name__ == '__main__': for e in get_lines(): process
相關文章
相關標籤/搜索