Can I 'LOOK' through urllib?

Grant Edwards grante at visi.com
Wed Feb 11 19:34:03 EST 2009


On 2009-02-12, Grant Edwards <grante at visi.com> wrote:
> On 2009-02-11, Muddy Coder <cosmo_general at yahoo.com> wrote:
>> Hi Folks,
>>
>> I feel good after played urllib with fun!
>>
>> Now I want to LOOK to server through urllib. I read the urllib docs,
>> but I did not find such a function. For example, if there are many
>> files located in http://www.somedomain.com/data_folder, but I don't
>> know what the filenames are residing in the data_folder.
>
> Try a GET on http://www.somedomain.com/.  If the admin has

Oops.  Should have been GET on http://www.somedomain.com/data_folder/

-- 
Grant




More information about the Python-list mailing list