How to get Details of a File using Python

How to get Details of a File using Python