Get your own Python server Result Size: 625 x 565
x
 
# Import os Library
import os
# Open file
fd = os.open( "test.txt", os.O_RDONLY)
# Get info about the file system of the file
print (os.fstatvfs(fd))
# Close file
os.close(fd)
os.statvfs_result(f_bsize=4096, f_frsize=4096, f_blocks=307200,
f_bfree=306979, f_bavail=305908, f_files=0, f_ffree=0, f_favail=0,
f_flag=4096, f_namemax=255)