Print file via file association using os.system or subprocess? (Windows)

python at bdurham.com python at bdurham.com
Sun Jul 18 13:46:48 EDT 2010


Under Windows: Is there a way to print a file using the file's
file extension association using either the os.system or
subprocess modules (vs. win32 extensions)?

Use case: print PDF or Office documents to default printer
without having to distribute win32 extensions.

Thanks,
Malcolm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100718/91e06420/attachment.html>


More information about the Python-list mailing list