print some text

barronmo barronmo at gmail.com
Sun Apr 27 10:35:48 EDT 2008


On Apr 25, 2:44 pm, "Gabriel Ibanez" <mob... at ibinsa.com> wrote:
> Hi !
>
> Other idea (old style school):
>
> def printing():
>    f=open("lpt1", "w")
>    f.write("\nSomething to print\f")
>    f.close()
>
> Cheers..
>
> - Ibanez -
>

I haven't found a way from within python to print f.  I'm sure there
it is something simple but I've been searching for a couple weeks now
with no luck.

Mike



More information about the Python-list mailing list