import os
mp = '/mount1'
if os.path.ismount(mp):
print('{0} is mounted'.format(mp))
else:
print('{0} is NOT mounted'.format(mp))

computer2know :: thank you for your visit :: have a nice day :: © 2024