640 [8].png

id: ca714d7322b64ada9e6acacfe8b05cd2
mime: image/png
filename: 
created_time: 2025-11-28T16:58:47.299Z
updated_time: 2025-11-30T10:55:54.193Z
user_created_time: 2025-11-28T16:58:47.299Z
user_updated_time: 2025-11-30T10:55:54.193Z
file_extension: png
encryption_cipher_text: 
encryption_applied: 0
encryption_blob_encrypted: 0
size: 67970
is_shared: 0
share_id: 
master_key_id: 
user_data: 
blob_updated_time: 1764349127299
ocr_text: I will now update the convert docs to md. py script.\n\n| v VWriteFile Writing to convert_docs_to_md. py |\n| 1 import os |\n2 import subprocess\n| 3 + import win32com. client |\n4 + import time |\n5\n| 6 + def convert_doc_to_docx(doc_path, docx_path): |\n| 8 + Converts a .doc file to .docx using Microsoft Word automation. |\n9 + pt\n| 10 + word app = None |\nIVES try: |\n12 + print (f”Converting ’ {os. path. basename (doc_path)}’ to DOCX...")\n| 13 + word app = win32com. client. Dispatch (“Word. Application”) |
ocr_details: [{"words":[{"t":"I","bb":[23,30,17,32],"bl":[23,30,32,32]},{"t":"will","bb":[41,80,17,32],"bl":[41,80,32,32]},{"t":"now","bb":[92,122,22,32],"bl":[92,122,32,32]},{"t":"update","bb":[132,191,17,34],"bl":[132,191,32,32]},{"t":"the","bb":[203,231,17,32],"bl":[203,231,32,32]},{"t":"convert","bb":[243,427,17,34],"bl":[243,427,32,33]},{"t":"docs","bb":[321,363,13,42],"bl":[321,363,32,32]},{"t":"to","bb":[371,392,13,42],"bl":[371,392,32,32]},{"t":"md.","bb":[400,430,13,42],"bl":[400,430,32,33]},{"t":"py","bb":[433,452,22,34],"bl":[433,452,33,33]},{"t":"script.","bb":[464,527,17,34],"bl":[464,527,33,32]}]},{"words":[{"t":"|","bb":[20,22,76,96],"bl":[20,22,95,95]},{"t":"v","bb":[34,49,84,95],"bl":[34,49,95,94]},{"t":"VWriteFile","bb":[62,151,79,94],"bl":[62,151,94,94]},{"t":"Writing","bb":[162,232,80,96],"bl":[162,232,94,94]},{"t":"to","bb":[243,262,81,94],"bl":[243,262,94,94]},{"t":"convert_docs_to_md.","bb":[273,457,79,96],"bl":[273,457,94,95]},{"t":"py","bb":[463,482,84,96],"bl":[463,482,95,95]},{"t":"|","bb":[1024,1026,76,96],"bl":[1024,1026,96,96]}]},{"words":[{"t":"|","bb":[20,22,97,158],"bl":[20,22,135,135]},{"t":"1","bb":[64,69,121,135],"bl":[64,69,135,135]},{"t":"import","bb":[134,189,121,138],"bl":[134,189,135,135]},{"t":"os","bb":[203,221,126,135],"bl":[203,221,135,135]},{"t":"|","bb":[1024,1026,97,158],"bl":[1024,1026,135,135]}]},{"words":[{"t":"2","bb":[62,70,142,156],"bl":[62,70,156,156]},{"t":"import","bb":[134,190,142,158],"bl":[134,190,156,156]},{"t":"subprocess","bb":[204,301,142,158],"bl":[204,301,156,156]}]},{"words":[{"t":"|","bb":[20,22,159,179],"bl":[20,22,176,176]},{"t":"3","bb":[62,71,163,176],"bl":[62,71,176,176]},{"t":"+","bb":[113,121,165,174],"bl":[113,121,176,176]},{"t":"import","bb":[134,190,162,179],"bl":[134,190,177,177]},{"t":"win32com.","bb":[202,286,162,177],"bl":[202,286,177,177]},{"t":"client","bb":[293,351,162,177],"bl":[293,351,177,177]},{"t":"|","bb":[1024,1026,159,179],"bl":[1024,1026,179,179]}]},{"words":[{"t":"4","bb":[62,70,183,197],"bl":[62,70,197,197]},{"t":"+","bb":[113,121,185,195],"bl":[113,121,196,196]},{"t":"import","bb":[134,190,183,200],"bl":[134,190,197,197]},{"t":"time","bb":[204,241,183,197],"bl":[204,241,197,197]},{"t":"|","bb":[1024,1026,180,220],"bl":[1024,1026,197,197]}]},{"words":[{"t":"5","bb":[62,71,204,218],"bl":[62,71,218,218]}]},{"words":[{"t":"|","bb":[20,22,221,241],"bl":[20,22,241,241]},{"t":"6","bb":[62,71,225,239],"bl":[62,71,240,240]},{"t":"+","bb":[112,121,227,236],"bl":[112,121,239,239]},{"t":"def","bb":[133,161,224,239],"bl":[133,161,239,239]},{"t":"convert_doc_to_docx(doc_path,","bb":[173,457,222,241],"bl":[173,457,239,240]},{"t":"docx_path):","bb":[474,579,222,241],"bl":[474,579,239,239]},{"t":"|","bb":[1024,1026,221,241],"bl":[1024,1026,241,241]}]},{"words":[{"t":"|","bb":[20,22,242,303],"bl":[20,22,280,280]},{"t":"8","bb":[62,71,266,280],"bl":[62,71,280,280]},{"t":"+","bb":[113,121,268,278],"bl":[113,121,279,279]},{"t":"Converts","bb":[172,251,266,280],"bl":[172,251,280,280]},{"t":"a","bb":[263,272,270,280],"bl":[263,272,280,280]},{"t":".doc","bb":[283,321,266,280],"bl":[283,321,280,280]},{"t":"file","bb":[334,371,265,280],"bl":[334,371,280,280]},{"t":"to","bb":[384,402,268,280],"bl":[384,402,280,280]},{"t":".docx","bb":[414,462,266,280],"bl":[414,462,280,280]},{"t":"using","bb":[474,523,266,283],"bl":[474,523,280,280]},{"t":"Microsoft","bb":[533,622,266,280],"bl":[533,622,280,280]},{"t":"Word","bb":[633,673,266,280],"bl":[633,673,280,280]},{"t":"automation.","bb":[684,788,266,280],"bl":[684,788,280,280]},{"t":"|","bb":[1024,1026,242,303],"bl":[1024,1026,280,280]}]},{"words":[{"t":"9","bb":[62,71,287,301],"bl":[62,71,289,289]},{"t":"+","bb":[112,121,289,298],"bl":[112,121,289,289]},{"t":"pt","bb":[173,200,284,289],"bl":[173,200,289,289]}]},{"words":[{"t":"|","bb":[20,22,304,324],"bl":[20,22,322,322]},{"t":"10","bb":[64,81,308,322],"bl":[64,81,322,322]},{"t":"+","bb":[112,121,310,319],"bl":[112,121,322,322]},{"t":"word","bb":[172,211,307,322],"bl":[172,211,322,322]},{"t":"app","bb":[220,251,312,324],"bl":[220,251,322,324]},{"t":"=","bb":[263,272,312,317],"bl":[263,272,323,323]},{"t":"None","bb":[283,321,307,322],"bl":[283,321,323,322]},{"t":"|","bb":[1024,1026,304,324],"bl":[1024,1026,324,324]}]},{"words":[{"t":"IVES","bb":[64,121,329,342],"bl":[64,121,342,341]},{"t":"try:","bb":[173,208,330,345],"bl":[173,208,342,342]},{"t":"|","bb":[1024,1026,325,365],"bl":[1024,1026,342,342]}]},{"words":[{"t":"12","bb":[64,80,349,363],"bl":[64,80,363,363]},{"t":"+","bb":[112,121,351,360],"bl":[112,121,363,363]},{"t":"print","bb":[213,260,349,366],"bl":[213,260,363,363]},{"t":"(f”Converting","bb":[266,392,346,366],"bl":[266,392,363,363]},{"t":"’","bb":[404,407,346,352],"bl":[404,407,363,363]},{"t":"{os.","bb":[417,447,346,365],"bl":[417,447,363,363]},{"t":"path.","bb":[453,497,349,366],"bl":[453,497,363,363]},{"t":"basename","bb":[506,579,342,371],"bl":[506,579,363,363]},{"t":"(doc_path)}’","bb":[588,698,346,366],"bl":[588,698,363,363]},{"t":"to","bb":[715,733,351,363],"bl":[715,733,363,363]},{"t":"DOCX...\")","bb":[744,830,346,365],"bl":[744,830,363,363]}]},{"words":[{"t":"|","bb":[20,22,366,393],"bl":[20,22,384,384]},{"t":"13","bb":[64,81,370,384],"bl":[64,81,384,384]},{"t":"+","bb":[112,121,372,381],"bl":[112,121,384,384]},{"t":"word","bb":[212,252,369,384],"bl":[212,252,384,384]},{"t":"app","bb":[260,291,374,386],"bl":[260,291,385,385]},{"t":"=","bb":[303,312,374,379],"bl":[303,312,385,385]},{"t":"win32com.","bb":[316,407,370,392],"bl":[316,407,384,384]},{"t":"client.","bb":[415,477,369,384],"bl":[415,477,384,384]},{"t":"Dispatch","bb":[485,561,369,386],"bl":[485,561,384,384]},{"t":"(“Word.","bb":[567,627,367,385],"bl":[567,627,384,384]},{"t":"Application”)","bb":[634,760,367,386],"bl":[634,760,384,384]},{"t":"|","bb":[1024,1026,366,393],"bl":[1024,1026,384,384]}]}]
ocr_status: 2
ocr_error: 
ocr_driver_id: 1
type_: 4