Check sibling questions

What is the difference between open () and close ()?



open( )

close( )

It is a stand-alone in-built function used to open a file .

It is an in-built function which is used along with the filehandle object to close a file.  




f1.close( )

Introducing your new favourite teacher - Teachoo Black, at only ₹83 per month

CA Maninder Singh's photo - Expert in Practical Accounts, Taxation and Efiling

Made by

CA Maninder Singh

CA Maninder Singh is a Chartered Accountant for the past 12 years. He also provides Accounts Tax GST Training in Delhi, Kerala and online.