SzybciorSmartTraktor/assets/learning/test/potato/172.jpg
2022-05-26 23:19:07 +02:00

11 lines
228 B
Plaintext

import os
def main():
for count, filename in enumerate(os.listdir()):
dst = f"{str(count)}.jpg"
src =f"./{filename}"
dst = f"./{dst}"
os.rename(src,dst)
if __name__ == '__main__':
main()