You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
162 B

2 months ago
import pandas as pd
# 读取文本文件
df = pd.read_csv('弹幕.txt', delimiter='\t')
# 保存为 Excel 文件
df.to_excel('弹幕.xlsx', index=False)