#!/usr/bin/python3 # download protein sequence from UniProt import requests, time u1 = "https://www.uniprot.org/uniprot/" u2 = "P13569" u3 = ".fasta" r = requests.get(u1+u2+u3, timeout=1) time.sleep(1) sf = r.text print(r.url) print(sf)