On Fri, Aug 29, 2008 at 07:28:40PM +0100, [EMAIL PROTECTED] wrote:
> dirListFinal = []
> for item in dirList:
>            print item
>            if item.endswith('\\') == True:

             if item[-1] == '\\':

-- 
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D

Attachment: pgp5fVWPp4Aiz.pgp
Description: PGP signature

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to