File handling in python( Class 11th)
Python has several built-in modules and functions for handling files. These functions are spread out over several modules such as os, os.path, shutil, and pathlib, to name a few. This article gathers in one place many of the functions you need to kno
...See more
w in order to perform the most common operations on files in Python.
1.file opening
2closing a file
3.reading a file
4.using the with statement
5.writing a file
6.copyfile.py
7.count spaces, tabs and new lines in a file
Views: 5166
Added: 4 years ago
Answer the Question