Is there a Python equivalent to Perl's File::Listing::parse_dir

John Nagle nagle at
Wed Aug 11 20:24:07 CEST 2010

   Perl has a function which will take a remote directory page, in
the form that most web sites return for a file directory, and
parse it into a useful form:

This is especially useful for FTP sites.

Is there a Python equivalent of this?  I'm converting some
old Perl code.

Even the Python FTP module doesn't have a directory parser.

				John Nagle

More information about the Python-list mailing list