import os
def main():
   i = 0
   path="no_fire/"
   for filename in os.listdir(path):
      my_dest ="no_fire" + str(i) + ".jpg"
      my_source =path + filename
      my_dest =path + my_dest
      os.rename(my_source, my_dest)
      i += 1

if __name__ == '__main__':
   main()