-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Description
Left is original doc file, right is file I exported with following code
import docx2txt
import os
def write_file(name, content):
with open(name, 'w') as file:
file.write(content)
files = os.listdir()
for file in files:
if file.endswith('.docx'):
text = docx2txt.process(file)
write_file(file.replace('.docx', '.srt'), text)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
