This doesn't seem to work because it's a wildcard filename. What is the
proper way to delete files using wildcards?

You could try glob[1] and then iterate over collected list (it also gives you a chance to handle errors like unreadable/not owned by you files).

[1] https://docs.python.org/2/library/glob.html

--

Emil Oppeln-Bronikowski *|* http://fuse.pl
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to