Guest User

Untitled

a guest
Jul 11th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. with open('labels.csv', 'r') as f:
  2. lines = csv.reader(f, delimiter = ',')
  3. for line in lines:
  4. os.rename(line[0], line[1] + str('.png'))
  5.  
  6. FileNotFoundError: [WinError 2] The system cannot find the file specified: '100000.png' -> '1.png'
Add Comment
Please, Sign In to add comment