This commit is contained in:
2026-02-26 15:52:01 +01:00
parent c326143eb8
commit f0faa57e98
51 changed files with 21457 additions and 22 deletions

11
rich_parser.py Normal file
View File

@@ -0,0 +1,11 @@
def search_file(file_path, word):
with open(file_path, 'r') as file:
for line in reversed(file.readlines()):
if word in line:
return line
speed = search_file('E:/Projects/python/ffmpeg_work_folder/testoutprogress.txt', 'speed=')
frame = search_file('E:/Projects/python/ffmpeg_work_folder/testoutprogress.txt', 'frame=')
print(speed)
print(frame)