17.1k views
0 votes
Python's open function, which expects a file pathname and a ____ string as arguments, opens a connection to the file on disk and returns a file object.

User Haxtar
by
5.5k points

1 Answer

0 votes
Hi!

In pythons open() function, we need to insert a file pathname and a mode. The mode is basically saying how you want to open the file.

Hopefully, this helps! =)
User Jarell
by
6.4k points