Important Notice:

Course Content
File Processing in Python (Chapter-11) M3-R5
About Lesson

Write data to text file:-

        Text file में character को लिखने के लिए दो method का use किया जाता है।

  1. write method:- इसमें केवल string दे सकते हैं

  2. write lines method:- इसमें केवल list of lines दे सकते हैं

 

Write data to text file:-

        Two methods are used to write characters in a text file.

  1. write method:- Only string can be given in this

  2. write lines method:- Only list of lines can be given in this

error: Content is protected !!