I have a set of protein accession number. I want to retrieve their sequences but programmically. Is there anyway to do that from Uniprot?

There is a page description on Uniprot itself but to be honest I could not understand it.

Any comment would be appreciated

Thanks
You can get it from UniProt directly using `curl` as follows: 

    $ cat uniprot_ids.txt 
    P00750
    P00751
    P00752

    $ for acc in `cat uniprot_ids.txt` ; do curl -s "https://www.uniprot.org/uniprot/$acc.fasta" ; done > uniprot_seqs.fasta

But if you choose to go with Entrez Direct, then I suggest the following command: 

    $ cat uniprot_ids.txt | epost -db protein | efetch -db protein -format fasta > uniprot_seqs.fasta