How to Get IP Address in Python

I want to print the IP address of my system in my python code. How do I get it?