File Handling in Python Programming Language

In this tutorial we will learn about file handling with example.The first natural process we have to perform in order to do any operation on some file is to open it. So here first we can see how to open the file and also we will learn about 3 modes that is read write and append mode.If file is not present then we can open that file in write or append mode so that it will create and open that file.using read() we can read the contents of the file and using write() we can write content to the file.



Watch this tutorial to learn about file handling