Doesn't anybody write to paper anymore?

Alan Gauld alan.gauld at
Wed May 3 16:42:08 CEST 2000

"Hernan M. Foffani" wrote:
> > docs say that os.popen() is "unreliable on Windows."  Is this still
> Well, there is a reliable "os.popen()" for windows around there. 

Really where? 
I couldn't get popen to work at a;ll on NT4 or win95

> you want to print in windows from python, that will be useless. 

Tis true, alas...

> The quick way: output to a text file, then run "notepad /p filename".

Or just output direct to LPT:

prt = open('LPT:','w')

> The advanced way: use the win32 module from pyhton.

Better, but printing under Windows using GDI is a pain...

Alan G.
This post represents the views of the author 
and does not necessarily accurately represent 
the views of BT.

More information about the Python-list mailing list