Python HTML source code
<p>I would like to write a script that picks a special point from the source code and returns it. (print it)</p>

<pre><code>import urllib.request                           

Webseite = "http://myip.is/"                    
html_code = urllib.request.urlopen(Webseite)

print(html_code.read().decode('ISO-8859-1'))
</code></pre>

<p>This is my current code.
I would like to print only the IP address that the website gives.
The input of this I will print in python (title="copy ip address").</p>

<p>You could use <a href="http://jsonip.com" rel="nofollow">jsonip</a> which returns a JSON object that you can easily parse using standard Python library</p>

<pre><code>import json
from urllib2 import urlopen

my_ip = json.load(urlopen('http://jsonip.com'))['ip']
</code></pre>

python python-3.x