# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3 (ipykernel)
#     language: python
#     name: python3
# ---

import os
# enter path to folder here
os.chdir(r'C:\Users\<NAME>\Desktop\twitter_bot_popularity_evaluation\content\cats\images')
os.listdir('.') 

z = 1
for x in os.listdir('.'):
    bezeichnung = str(z)+'.jpg'
    z = int(z) + 1
    #print(bezeichnung)
    os.rename(x,bezeichnung)

os.listdir('.') 

StarcoderdataJupyterScriptsDedupFiltered