Closed GoogleCodeExporter closed 8 years ago
Original comment by gerbe...@gmail.com
on 9 Jan 2011 at 11:04
This is an "improvement request" rather than a "defect".
Original comment by agustin....@gmail.com
on 10 Jan 2011 at 5:26
Original comment by gerbe...@gmail.com
on 10 Jan 2011 at 5:59
[deleted comment]
Actual python code:
import urllib
urllib.urlopen('http://icanhazip.com').read().strip()
--> '89.10x.1x8.xxx'
(x's replaced for privacy :-)
Provides your IP in a string. strip() removes some extra space that comes with
it.
... That will provide your external IP address if you are behind a router, as
provided by icanhazip.com.
Patch attached to include it in the status line...
Original comment by agustin....@gmail.com
on 11 Jan 2011 at 7:45
Attachments:
Merge #71 and #60
Original comment by herr.bi...@gmail.com
on 30 Sep 2012 at 9:17
Original issue reported on code.google.com by
agustin....@gmail.com
on 9 Jan 2011 at 10:54