Inviting students to participate in a semester-long internship programme.     Click here to know more.

Getting started with files - English

15777 visits


Open a file Open() function Different Modes of opening a file Read() method Read the content of the file line by line Read the entire content of the file Append the lines of a file to a list Close a file Demonstration using a txt file Splitlines() method