2 Oct
2003
2 Oct
'03
8:14 a.m.
-----Original Message----- From: zope-bounces@zope.org [mailto:zope-bounces@zope.org]On Behalf Of J. Cameron Cooper Sent: martedì 30 settembre 2003 3.52 To: Edward Pollard; zope@zope.org Subject: Re: [Zope] Cleaning Filenames from Windows
Maybe this is not a catch-all solution, but it works for me. target_fname=target_fname[max(string.rfind(target_fname,'/'), string.rfind(target_fname,'\\'), string.rfind(target_fname,':') )+1:] hope this helps, __peppo