list index()
Nicko
usenet at nicko.org
Sat Sep 1 10:42:39 EDT 2007
On Aug 30, 7:00 pm, Steve Holden <st... at holdenweb.com> wrote:
> You can also generate the files that are in one directory but ot the
> other with
>
> (afiles | bfiles) - (afiles & bfiles)
Or just (afiles ^ bfiles).
Nicko
--
(lambda f: lambda *a:f(f,*a))(
lambda f,l,i:l[i][1]+f(f,l,l[i][0]) if l[i][0]>0 else "")(
sorted(enumerate('~ooiirnncc at -kk.og'),key=lambda a:a[1]),0)[1:]
More information about the Python-list
mailing list