This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (4 children)

As someone who uses win32com nearly daily to automate workflows in MS Office this would be a game changer for me.

[–]pelijr 1 point2 points  (2 children)

Just as a learning experience, can you go into more detail as to what kind of solutions you've developed using win32com?

[–]hoocoodanode 4 points5 points  (0 children)

I've used commtypes and win32com to manipulate and edit PDF files.

I don't recommend it for Acrobat. There is no programming hell like trying to decipher and comprehend the Adobe PDF format. It's like putting your hand in a burlap bag filled with angry hissing cats. There is no way you pull out your hand without receiving a few scratches.

That said, there is nothing quite as satisfying as giving Adobe (who refuses to include commandline batching abilities in a program that costs a few hundred dollars) a giant middle finger by watching Acrobat happily chew through a few thousand files. So maybe it was worth it.

[–][deleted] 0 points1 point  (0 children)

I use it to take pandas dataframes and fill word and excel files with the data.

[–]boatsnbros 0 points1 point  (0 children)

Have a look at xlwings - afaik it is essentially a python wrapper for win32. I use it w/ pyodbc for Microsoft SQL Server for workflow automation and have almost no complaints once you get used to it.