- 博客(4)
- 收藏
- 关注
原创 Python进行音频处理
pip 安装ffmpy 在运行时可能会遇到报错 ffmpy3.FFExecutableNotFoundError: Executable ‘ffmpeg‘ not found。下载合适版本,然后放到任意地址即可。
2024-03-19 11:54:27
532
1
原创 【Python】 将list按行写入txt && 将整个list存入txt
【Python】 将list按行写入txt && 将整个list存入txt直接上代码嘎嘎嘎嘎嘎 alist=c f = open("data.txt", "r") lines = f.readlines() for line in lines: line = line.strip('\n') # 删除\n with open("data1.txt", 'w') as f: for i in alist:
2021-01-22 23:23:01
21672
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人