casio1374633

导航

 

2016年12月5日

摘要: import osimport sysrootdir = os.getcwd()for (dirpath, dirnames, filenames) in os.walk(rootdir): for filename in filenames: testfile = os.path.join(dir 阅读全文
posted @ 2016-12-05 16:04 casio1374633 阅读(352) 评论(0) 推荐(0) 编辑
 
摘要: import subprocess import os import time def getTime(flvpath,fid): #file_str = '1.flv' file_str = flvpath wg = subprocess.Popen(['ffmpeg.exe', '-i', file_str], stdout=subprocess.PIPE, stderr... 阅读全文
posted @ 2016-12-05 16:02 casio1374633 阅读(2122) 评论(0) 推荐(0) 编辑