4 ms·
> I'd love to be able to take a word/libreoffice template and generate a document by supplying command line parameters for example. Python with PyWin32 is grea
by yardshop 9y ago
> I'd love to be able to take a word/libreoffice template and generate a document by supplying command line parameters for example.
Python with PyWin32 is great for this, the Word doc part anyway. I've got several scripts the create modify or read Excel and Word docs for a number of different purposes: tracking my mileage, automating creation of new users (now done with Powershell though), converting and uploading documents to a web server. VBA/VBScript can do some of these things too, but Python is a much more capable and sane language to use. Powershell is another great automation choice too.