On 18/02/15 00:23, Ken G. wrote:
I wish to thanks Danny Yoo and Alan Gauld
for providing information on using the new
subprocess in printing on paper,
Glad to help.
I got my desired output printed.
Not looking forward to updating my old programs.
If it's a common function in your code why not
create a module with a function. Then you can simply
import it and call the function.
import lprinter
lprinter_init()
...
lprint('some text here')
or similar?
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor