Here in this program we will read from the file /proc/mounts and display the output to the user
Click here for the code.
Run the above code like:
$ python mount.py