SyntaxFix
Write A Post
Hire A Developer
Questions
For python3.5, you can use the following code:
import urllib.request res = urllib.request.urlopen(starturl) finalurl = res.geturl() print(finalurl)