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