title: Get IP address of visitors using Flask for Python
body: <p>I'm making a website where users can log on and download files, using the <a href="http://flask.pocoo.org/" rel="noreferrer">Flask micro-framework</a> (based on <a href="http://werkzeug.pocoo.org/" rel="noreferrer">Werkzeug</a>) which uses Python (2.6 in my case).</p>
  
  <p>I need to get the IP address of users when they log on (for logging purposes). 
  Does anyone know how to do this? Surely there is a way to do it with Python?</p>