Mercurial > codedump
view deleteautosave.py @ 119:196cf2e3d96e
channeldownloader: insane memory optimizations
it should now use at maximum 300mb if you're using the split json files
committer: GitHub <noreply@github.com>
author | Paper <37962225+mrpapersonic@users.noreply.github.com> |
---|---|
date | Sat, 25 Mar 2023 17:02:23 -0400 |
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)