On Fri, 17 Mar 2006 00:36:35 -0700
fortezza-pyt <[EMAIL PROTECTED]> wrote:

> If there a semi-standard way to test if a file system has been mounted 
> or not using Python? In the Linux command line, I can type "mount" and 
> see all mounted file system, and then see if the one I am looking for is 
> in the list. While I could replicate this with
> Python, I am curious if there is an easier way.
> 

Hi Fortezza,

try os.path.ismount() .

HTH

Michael
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to