daily pastebin goal
91%
SHARE
TWEET

Untitled

a guest Jul 11th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top