title: Trying to use my subnet address in python code
body: <p>I'm trying to get my ip subnet address (192.168.1.xxx) into my python code. I'm running linux/osx. How do I do this/ What is the best way to do this?</p>