SHARE
TWEET

YMM4K

wamo_sc Mar 12th, 2020 (edited) 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import os
  2. z = 0
  3. y = os.path.dirname(os.path.abspath(__file__)) + R'/'
  4. for i in range(18):
  5.     x = y + str(z).zfill(2)
  6.     os.rename( x + '.png', x + '.0.png')
  7.     os.rename( x + 'a.png', x + '.1.png')
  8.     os.rename( x + 'b.png', x + '.2.png')
  9.     os.rename( x + 'c.png', x + '.3.png')
  10.     os.rename( x + 'd.png', x + '.4.png')
  11.     os.rename( x + 'e.png', x + '.png')
  12.     z = z + 1
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