您的位置:首页 > 编程语言 > Python开发

Python开发【笔记】:获取mp3文件获取信息

2018-03-12 14:25 78 查看
原文链接:http://www.cnblogs.com/lianzhilei/p/8549069.html
import eyed3

def main():
mp3 = '8200031001_13429822982_1_00163e086216990b11e82403f00d3d9a.mp3'

xx = eyed3.load(mp3)

print(u'时长为:{}秒'.format(xx.info.time_secs))

if __name__ == '__main__':
main()

  

转载于:https://www.cnblogs.com/lianzhilei/p/8549069.html

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: