Mercurial > codedump
view deleteautosave.py @ 116:205fc01d5eb4
kmbscreens: replace bat+c with py
committer: GitHub <noreply@github.com>
author | Paper <37962225+mrpapersonic@users.noreply.github.com> |
---|---|
date | Sat, 04 Feb 2023 13:46:06 -0500 |
parents | 2aa9614cb39a |
children |
line wrap: on
line source
import os for file in os.listdir("./"): name = os.path.splitext(file)[0][:-16][-8:] if name == "AutoSave": os.remove(file)