Skip to content

Instantly share code, notes, and snippets.

Created Jun 30, 2013
What would you like to do?
Rename roms
import os
listRoms = os.listdir(".");
countRoms = len(listRoms);
for i in range(0, countRoms):
name = listRoms[i];
if (name[-4:] == ".bin"):
for j in range(len(name)):
if ((name[j] == "[") or (name[j] == "(")):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment