On 12 Jan 2007 09:16:51 -0800, CSUIDL PROGRAMMEr <[EMAIL PROTECTED]> wrote: > I have a filename > cairo-2.3.4.src.rpm > Is there any way i can only get 2.3.4 from this file name > thanks > > -- > http://mail.python.org/mailman/listinfo/python-list >
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. -- http://mail.python.org/mailman/listinfo/python-list