Home Ask Login Register

Developers Planet

Your answer is one click away!

Sans SANTOSH February 2016

python file ouput filname.write(" "" ") is not writing to file ""

My Python script is not writing "" by this code filname.write(" "" ") .

What is going wrong here?

Answers


Fredrik February 2016

You need to do:

filename.write(""" "" """)

or

filename.write(' "" ')

Post Status

Asked in February 2016
Viewed 3,370 times
Voted 4
Answered 1 times

Search




Leave an answer


Quote of the day: live life