Can find nothing in the on-line docs or a book. Groping in the dark I attempted :
script24
import io
io.open('stdprn','w') # accepted
stdprn.write('hello printer') # fails < stdprn is not defined >
Thanks to all responders I'm inching up on the snake.
Dave WB3DWE
--
http://mail.python.org/mailman/listinfo/python-list
