playing around with os utilities in python