2013-07-04 37 views
1
import os 
File = open('Path/video_file.webm','rb') 
Size = os.path.getsize('Path/video_file.webm') 
Data = File.read(Size) 

如何使用python播放'Data'中的內容而不是從其文件播放視頻?請幫幫我。我卡住了。提前致謝。使用python播放包含視頻數據的字符串

回答