check if an URL exists without opening it

David david at
Fri Aug 9 21:19:21 CEST 2002

I would like to check if an URL exists.
(for instance

The method is unsatisfactory because the URL (which will be a
file in my program) is opened ! So it can take too long time, just to check
the existence !


More information about the Python-list mailing list