111.txt {"11": 11, "22": 22} {"11": 11, "33": 33} 脚本 import pandas as pd df = pd.read_json("111.txt", lines=True) df.to_excel("info.xlsx") 转换后结果