0

Open function vs other file methods

Curious to know why open () is a function whereas all other manipulations to files are done using methods such as read, write etc. Does the open function actually create a file object on which the other methods can then be called?

7th Feb 2017, 6:15 PM
Bart Saaiman
Bart Saaiman - avatar
1 Answer
0
Yes, it can
7th Feb 2017, 7:38 PM
Leshark
Leshark - avatar