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?query_key=1&db=nucleotide&qty=1&c_start=1&uids=&dopt=fasta&dispmax=20&sendto=t') > > for line in filename.readlines(): > > print line, > > > Error: History is unavailable either because it has expired or because > your system cannot accept <A > href='/entrez/query/static/faq.html#Acceptscookies'>cookies</A>
Have you tried that URL on your browser? -- Cheers, Simon B [EMAIL PROTECTED] http://www.brunningonline.net/simon/blog/ -- http://mail.python.org/mailman/listinfo/python-list