19 Sep
2003
19 Sep
'03
11:22 p.m.
On Fri, 2003-09-19 at 15:44, Paul Winkler wrote:
On Fri, Sep 19, 2003 at 03:35:40PM -0700, Dylan Reinhardt wrote:
How about (untested):
'.*\\([\w|\d]+)'
Or you could let the python core developers do it for you:
os.path.basename(foo)
Ah... nice catch. Seems like every time I try to do something clever, I find out the Python developers have already done it better. :-) Dylan