parsing a file name

Tim Williams tim at tdw.net
Fri Jan 12 18:42:42 CET 2007


On 12 Jan 2007 09:16:51 -0800, CSUIDL PROGRAMMEr <syedamjad_a at yahoo.com> 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

Is this a one off,  or do you have to process multiple files with similar names?


-- 

Tim Williams



More information about the Python-list mailing list