If - Or statements

Patrick Down patrick.down at gmail.com
Tue Jun 7 17:18:33 CEST 2005


What about:

if True in [thefile.endswith(x) for x in
('mp3','mp4','ogg','aac','wma')]:




More information about the Python-list mailing list