Incrementing number in file name when file exists

前端 未结 1 896
粉色の甜心
粉色の甜心 2021-01-25 11:30

I am still very new to Python (3). I have a BUNCH of sensor data, but the download limit forces me to retrieve the data in chunks instead of all at once (each .zip file downloa

相关标签:
1条回答
  • 2021-01-25 12:04

    Your

    i = 1 
    

    After else should not be there, it keeps setting i to 1 thus always making i's value in to a 2, try to have it outside of the for statements

    0 讨论(0)
提交回复
热议问题