2009/11/4 Nadav Chernin <nada...@qualisystems.com>: > Thanks, but my question is how to write the regex.
re.match(r'.*\.(exe|dll|ocx|py)$', the_file_name) works for me. -- Cheers, Simon B. -- http://mail.python.org/mailman/listinfo/python-list
2009/11/4 Nadav Chernin <nada...@qualisystems.com>: > Thanks, but my question is how to write the regex.
re.match(r'.*\.(exe|dll|ocx|py)$', the_file_name) works for me. -- Cheers, Simon B. -- http://mail.python.org/mailman/listinfo/python-list