Getting REMOTE_ADDR

Forums:

Using cgi, you can grab the remote user IP just like in IE Request.ServerVariables["REMOTE_ADDR"]

import cgi
import os
print "Content-type: text/html"
print ""
print cgi.escape(os.environ["REMOTE_ADDR"])

Reference:https://dzone.com/articles/python-cgi-script-display

-6.1193329,39.1580149,06-17-2019 10:12:53 AM,!Stopped for gas