writing to parallel port?

Karl M. Syring syring at email.com
Wed Nov 28 18:40:44 CET 2001

"Markus" <mvonehr at web.de> schrieb
> Hallo everybody,
> is it possible to write to the
> parallel printer port from
> Python?
> (win32 system)

What about:

printer = open('lpt1:','w')
printer.write("a blast from the past!")

Karl M. Syring

More information about the Python-list mailing list