Python Programming - Reading and Writing Files - Discussion

Discussion Forum : Reading and Writing Files - General Questions (Q.No. 27)
27.
What does the os.path.getsize() function return?
Returns the creation time of a file
Returns the file extension
Returns the size of a file in bytes
Returns the number of lines in a file
Answer: Option
Explanation:
os.path.getsize() returns the size of a file in bytes.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.