Writing multiple lines into a file in Python

python list of dictionaries

Writing Multiple lines into the file in python :

We can use Python triple quotes  """   """  to write multiple lines into a file. Instead of using more than one write functions.

Here is one small Example :

 

Venkatesh

Hi Guys, I am Venkatesh. I am a programmer and an Open Source enthusiast. I write about programming and technology on this blog.

You may also like...

Leave a Reply