Is there a way I get can the following disk statistics in Python without using PSUtil?

Total disk space
Used disk space
Free disk space

All the examples I have found seem to use PSUtil which I am unable to use for this application.
My device is a Raspberry PI with a single SD card. I would like to get the total size of the storage, how much has been used and how much is remaining.
Please note I am using Python 2.7.
You can do this with the os.statvfs function.
How to get disk space total, used and free using Python 2.7 without PSUtil