How to use Python with databases?

How to use Python with databases?