Re: problems connecting to pubmed
Frederic Gobry <[email protected]> Thu, 15 Sep 2005 12:35:19 +0200
| Newsgroups | gmane.comp.gnome.apps.pybliographer |
|---|---|
| Message-ID | <[email protected]> |
> How can I check that? Do you mean an environment variable in python or in
> the mandrake configuration?
I meant an environment variable in the shell: from a console, does
echo $http_proxy
return something ?
Let's do another simple check: fire up python from the command line, and
type the following commands at the prompt :
import urllib
fd = urllib.urlopen ('http://www.google.com/')
print len (fd.read ())
...in order to see if it is a python or a pybliographer problem.
Frédéric
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDKU5nFjQHpltE9KURAkhEAKDCIAoVcM4CMRp7nFkBZXYoGNuVBQCggtB2 bnuyEW+avdYSA+fzm0tLE+U= =O0Vb -----END PGP SIGNATURE-----