On 10/4/19 8:59 AM, Daniel wrote:
> How to do a code to print to paper? please post here a "Hello World"
> code to be printed on paper with an inkjet.
What operating system? Are you using a graphical UI toolkit or is this a
command-line program you're making?
--
https://ma
On 2019-10-04, Daniel wrote:
> How to do a code to print to paper? please post here a "Hello World"
> code to be printed on paper with an inkjet.
os.popen('lpr','w').write('Hello World\n')
That's a bit old-school -- you should
How to do a code to print to paper? please post here a "Hello World"
code to be printed on paper with an inkjet.
Thanks
Daniel
---
Este email foi escaneado pelo Avast antivĂrus.
https://www.avast.com/antivirus
--
https://mail.python.org/mailman/listinfo/python-list
Daniel writes:
> How to do a code to print to paper? please post here a "Hello World"
> code to be printed on paper with an inkjet.
> Thanks
> Daniel
It depends on the Operating System. Python doesn't have a standard,
system-independent way to print to paper.
On m