initial commit

This commit is contained in:
Matthieu Bessat 2022-09-28 22:49:59 +02:00
commit 16137dce12
80 changed files with 1757 additions and 0 deletions

View file

@ -0,0 +1,16 @@
#!/bin/python3
# reorder Index des images
import os
BASE = '../static/files/images/'
l = os.listdir(BASE)
print(l)
for e in l:
if int(e) >= 1000:
os.rename(BASE + e, BASE + str(27+int(e)-1000))
if e.zfill(5) != e:
os.rename(BASE + e, BASE + e.zfill(5))