[PD] simple message/list parsing
Ken Restivo
ken at restivo.org
Tue Sep 18 18:37:59 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, Sep 16, 2007 at 05:20:34PM +1000, Mat Wall-Smith wrote:
> Hi..
>
> I'm still looking for a way of checking one list of numbers against
> another list of numbers and returning the any number that is included
> in both.
> Something like the [select] object but that passes the number rather
> than a bang so I could add the number to a text file or list.
>
Install the python external, and make a simple extraction that does this?
[ x for x in set1 if x in set2 ]
/me ducks
- -ken
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFG7/7ne8HF+6xeOIcRAkdaAKCEQFFHWvoXPVBgETV41nYvBUPHzQCggxVA
5AN5YUVkkpOclVQ57VpFJPg=
=mk55
-----END PGP SIGNATURE-----
More information about the Pd-list
mailing list