Writing to file

John Grayson johngrayson at home.com
Fri Oct 13 11:27:14 EDT 2000


In article <39E71DEB.D543820A at hotmail.com>,
  j <keisari_ at hotmail.com> wrote:
> How can i write string "test string" into file "test.txt".
>
> How can i print
> i am a "monkey"
>
> In perl that would be
> print qq(i am a "monkey");
>
> Joonas.
>
>

Try reading the tutorial...

http://www.python.org/doc/current/tut/tut.html


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list