>
>> To  that end, it seems like what I want to do is something like:
>>
>>              allsongs.filter (its.database_ID in songdbids]).delete ()
>>
>> except I don't think that the 'in' operator works,
>
> See ch.8 of the appscript manual for a list of supported comparison  
> forms. Not all Python operators were amenable to overloading; in  
> this case you need to use 'its.database_ID.isin(songdbids)'.

I'll give this a try, thanks!   Sorry, I did try looking through the  
docs for a list precisely like the one you pointed me at, but somehow  
missed it.


Niko

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to