Methods/functions To A File Flashcards
1
Q
.read()
A
Reads a file
2
Q
.readline()
A
Reads just one line of file
3
Q
.truncate()
A
Empties the file
4
Q
.write()
A
Writes stuff to file
5
Q
.close()
A
Closes a file