Hi Everyone,
I have a function I'm writing to delete wildcarded files in a directory.
I tried this:
def unlinkFiles():
os.remove("/home/anthony/backup/unix*")
This doesn't seem to work because it's a wildcard filename. What is the
proper way to delete files using wildcards?
Thanks,
Anthony
--
Anthony Papillion
Phone: 1.918.631.7331
XMPP Chat: [email protected]
Fingerprint: 65EF73EC 8B57F6B1 8C475BD4 426088AC FE21B251
iNum: +883510001190960
PGP Key: http://www.cajuntechie.org/p/my-pgp-key.html
--
https://mail.python.org/mailman/listinfo/python-list