How To Get The Directory Of A File In Python?

How To Get The Directory Of A File In Python?