File I/O
One of the most common things to do when programming is writing and reading files. We can open
a file using the built-in open
function which returns a file
object.
f = open("dummy.txt")
One of the most common things to do when programming is writing and reading files. We can open
a file using the built-in open
function which returns a file
object.
f = open("dummy.txt")