Selecting elements from a list

Martin Christensen knightsofspamalot-factotum at gvdnet.dk
Fri Sep 5 02:06:23 EDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "David" == David C Fox <davidcfox at post.harvard.edu> writes:
David> B = filter(lambda x: x.property(), A)

Now, if I'd paid better attention to the library documentation... :-)

Martin

- -- 
Homepage:       http://www.cs.auc.dk/~factotum/
GPG public key: http://www.cs.auc.dk/~factotum/gpgkey.txt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using Mailcrypt+GnuPG <http://www.gnupg.org>

iEYEARECAAYFAj9YJ98ACgkQYu1fMmOQldVcoACg4UwLuvBfdx1aZV0qXJgomgQ4
5OkAnAgsf4fdEY0j9ekDPOrWytpKPqhJ
=NcyH
-----END PGP SIGNATURE-----




More information about the Python-list mailing list