FILES IN PYTHON

GOCOURSE



File

 A file is a collection of characters or bytes represented using a code format (ASCII or UTF or Unicode).These files are called as text files such as notepad files, word files, programming language source programs, etc. Some files are stored as sequence of bits. These types of files are called as binary files such as image, video, audio, object, executable files.

Methods Are Files:

OPEN - open()
CLOSE - close()
READ - read()
WRITE - write()




More topic in Python

Our website uses cookies to enhance your experience. Learn More
Accept !

GocourseAI

close
send