0% found this document useful (0 votes)
1 views1 page

Python

The document provides an overview of Python file handling, detailing the use of the open() function for file operations such as opening, writing, reading, and closing files. It mentions that the open() function takes two parameters: filenames and modes, with four types of modes available: read, append, write, and create. An example syntax for opening a file is also included.

Uploaded by

dhanasrvnn
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views1 page

Python

The document provides an overview of Python file handling, detailing the use of the open() function for file operations such as opening, writing, reading, and closing files. It mentions that the open() function takes two parameters: filenames and modes, with four types of modes available: read, append, write, and create. An example syntax for opening a file is also included.

Uploaded by

dhanasrvnn
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

PYTHON

1) PYTHON FILE HANDLING:

 It is used for open ,write,read and close a file.


 Open() function is used.
 It is of two parameters- filenames and modes.
 Modes are of four types : read,append,write,create.

Syntax:
f = open("[Link]")

You might also like