Hi,

If I want to use the 'os.path' module, it's enought to import 'os':

import os
if os.path.isfile('/usr/bin/bash'):
    print 'got it'

In other source codes I noticed that people write 'import os.path' in
this case. Which is better practice?

Thanks,

Laszlo
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to