docx after the document name when I saved it but that didn't work either as the module docx can't do that. After that, it just says: 0%| | 0/1 Īnd I tried to simply put. Office 2016 for Mac Select File: Save As (or press Command+Shift+S) Enter the file name in the Save As field, then choose where you want the file to be saved. The things I tried to do for it to save as a pdf: from docx2pdf import convertĬonvert('/my/folder/m圜hangedDocument.docx', '/my/folder/m圜hangedDocument.pdf')īut it says that Word needs permission to open the saved file and I have to select the file to give it the permission. This is an example of the code I'm working with: # Opening the original documentĭoc.save('/my/folder/m圜hangedDocument.docx') If you need to print more than one file, open all of them in Preview. Pages is available for Mac OS X and iOS and is a competitor to Microsoft Word.pages files can contain complex documents with tables, charts and pictures. However, I want it to save it as a pdf but I don't know how to. The script I wrote, opens a docx, changes some words and then saves it in a certain folder as a docx. Have the Word doc you want to convert to PDF open in Word for Mac Go to the ‘File’ menu and choose Export Select PDF in the file format selection Choose to Export the Word doc as a PDF Using Export to convert Doc to PDF gives you a few more PDF saving options but is otherwise not too different from using the Save As ability. I've looked up several SO and other web pages but I haven't found anything that works.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |