a guest Jul 11th, 2018 56 Never
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, line + str('.png'))
- FileNotFoundError: [WinError 2] The system cannot find the file specified: '100000.png' -> '1.png'
RAW Paste Data