-4
我需要解析以下日誌文件在Python的結果或CSV:需要解析Python中的工具,日誌文件,然後保存在Excel
Log file created: 9/10/2014 4:03:21 PM
----------------------------------------
Ticks = 2408967 <3360> <UpdatePlaybackStatusInfo> <0> Avg Prefetch(ms): 157.739, Avg Render(ms): 25.7375, Avg Display FPS: 27.3688
Ticks = 3371181 <3360> <UpdatePlaybackStatusInfo> <0> Frames dropped during playback: 0/219, Preroll(ms): 812.849
Ticks = 3371181 <3360> <UpdatePlaybackStatusInfo> <0> Avg Prefetch(ms): 17.1389, Avg Render(ms): 33.8339, Avg Display FPS: 29.5562
Ticks = 3465531 <10548> <Assert> <0> Debug Assert failed!
Ticks = 3465531 <10548> <Assert> <0> wglMakeCurrent failed: Error 0: The operation completed successfully.
我需要提取<UpdatePlaybackStatusInfo>
和<Assert>
記錄,各有其組成字段,並將它們保存爲Excel或CSV文件。
任何人都可以幫助我做到這一點。
解析如何?你想要提取什麼? – 2014-09-10 12:36:13
你的代碼在哪裏?它的問題究竟是什麼? – jonrsharpe 2014-09-10 12:41:49
我想提取截至目前的和值。請幫忙。 –
2014-09-10 13:00:45