This is not a python problem. That is the text of the site when you go
to it. The site uses cookies to store a session of your visit. Using
python bypasses that cookie and throws an error. You will be better
served using teh mechanize library.
http://wwwsearch.sourceforge.net/mechanize/
Even
On 12/8/06, Χρυσάνθη Αϊναλή <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I get an error, when I am trying to read URL.
> Where is the Problem?
>
> Thank u very much for all ideas!!!
>
> sincerely
>
> Chrysanthi
>
>
> from urllib2 import *
>
> filename=urlopen('http://www.ncbi.nlm.nih.gov/entrez/viewer.fcgi
Χρυσάνθη Αϊναλή wrote:
> I get an error, when I am trying to read URL.
> Where is the Problem?
did you read the error message you got from the server?
> Error: History is unavailable either because it has expired or because
> your system cannot accept href='/entrez/query/static/faq.html#Accepts
Hi,
I get an error, when I am trying to read URL.
Where is the Problem?
Thank u very much for all ideas!!!
sincerely
Chrysanthi
from urllib2 import *
filename=urlopen('http://www.ncbi.nlm.nih.gov/entrez/viewer.fcgi?query_key=1&db=nucleotide&qty=1&c_start=1&uids=&dopt=fasta&dispmax=20&sendto=