user4169482
user4169482

Reputation:

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?

Upvotes: 0

Views: 75

Answers (1)

Fredrik
Fredrik

Reputation: 1457

You need to do:

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

or

filename.write(' "" ')

Upvotes: 7

Related Questions