Printing from python on Windows platform

Skip Montanaro skip at
Thu Aug 5 02:58:49 CEST 1999

    Mark> Either way, what I can test is that you can specify the name of
    Mark> the printer as a network resource.  Eg:

    Mark> open("\\\\boots\\officejet", "w")

    Mark> will allow me to open my printer and write to it.

Dumb question from a non-Windows person: shouldn't that flag arg be "wb"?
We Unix weenies are always getting beat up by the Windows weenies for not
including the "b"inary flag when opening files.  I figured turn about is
fair play. ;-)

Skip Montanaro	|
skip at  |

More information about the Python-list mailing list