From 566b6b60b0037245f031816826141b51ffe44d04 Mon Sep 17 00:00:00 2001 From: pff5ls68k <1822218970@qq.com> Date: Mon, 16 Sep 2024 10:49:05 +0800 Subject: [PATCH] Project --- geto_excel.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 geto_excel.py diff --git a/geto_excel.py b/geto_excel.py new file mode 100644 index 0000000..5dfd331 --- /dev/null +++ b/geto_excel.py @@ -0,0 +1,7 @@ +import pandas as pd + +# 读取文本文件 +df = pd.read_csv('弹幕.txt', delimiter='\t') + +# 保存为 Excel 文件 +df.to_excel('弹幕.xlsx', index=False)