Finding partition containing a path?

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Sat Apr 25 04:43:04 CEST 2009


In message <mailman.4526.1240607621.11746.python-list at python.org>, 
skip at pobox.com wrote:

> Is there an easy way in Python to get the mount point in which a path
> resides?  (Unix only is fine.)

See the os.statvfs call <http://docs.python.org/library/os.html>.




More information about the Python-list mailing list