RE Despair - help required

Reinhold Birkenfeld reinhold-birkenfeld-nospam at
Thu Aug 25 16:13:59 CEST 2005

Yoav wrote:
> Don't think it will do much good. I need to get them from  a file and 
> extract the last folder in the path. For example:
> if I get "c:\dos\util"
> I want to extract the string "\util"

Then os.path.basename should be for you.


More information about the Python-list mailing list