[Biopython] Entrez.efetch rettype retmode

Silvio Tschapke silvio.tschapke at googlemail.com
Wed Apr 21 18:34:54 UTC 2010


Hello.

I am new to Biopython and I tried to download a whole record with efetch.
The problem is that I get an error message in the output:
""Report 'full' not found in 'pmc' presentation""
Maybe I haven't understood the whole principle.

But isn't it the goal of pmc to provide full text? I have read the help-page
of efetch but it doesn't help me a lot.


----
handle = Entrez.efetch(db="pmc", id="2531137", rettype="full",
retmode="text")
string = str(handle.read())


f = open('./output.txt', 'w')
f.write(string)
----

Thanks for your help!



More information about the Biopython mailing list