To open a URL in [[Python]], use the `urllib`.
```python
import urllib.request
fhand = urllib.request.urlopen('http://data.pr4e.org/romeo.txt')
for line in fhand:
print(line.decode().strip())
```
[^p4e]
[^p4e]: Severance, C. (2016). *Python for everybody*. Accessed in May 2021 from [P4e.com](https://www.py4e.com/).