Opening docx document error


I haven writen code to create/open a new empty docx document. Everything works but when i want to open the created file in word i get an error (picture on the right) mentioning “Word has found unreadeble content”… By the way it is an empty doc…

try a different file type (txt, md, etc.)

Additionally, replit runs repls on its own server, try downloading your program and then running it. You will need to install python and if required, the pip install