parsing a file name

Paul Boddie paul at
Fri Jan 12 19:23:41 CET 2007

Chris Mellon wrote:
> I'm trying to think of a good reason to extract the version from the
> filename instead of using RPM to get the real version from the
> metadata and I can't come up with one.

The inquirer doesn't have any RPM handling tools installed/available or
is dealing with a lot of versioned filenames which might be a selection
of different, arbitrary formats.

Try harder! ;-)


More information about the Python-list mailing list