Writing multiple lines into a file in Python

Spread the love

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 Macha

Hi Guys, I am Venkatesh Macha. I am a programmer and an Open Source enthusiast, Presently working as a Software Engineer. Apart from that, I love to explore new technologies and things.

You may also like...

Leave a Reply