使用python將歌詞文件(.lrc文件)轉換成字典及遍歷獲取文件夾內所有lrc文件並以lrc格式顯示出來

import os class Get_lrcs(): #將lrc文件轉換成字典 def lrc_to_dict(file_path:str,filenmae:str): #需要傳入的參數:文件路徑,文件名 with open(file_path+filenmae,encoding='utf8') as f: line=f.readlin
相關文章
相關標籤/搜索