Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for itemId in dict.iterkeys():
- c = newDB.cursor()
- c.execute(queryTypeName, (itemId,))
- for row in c:
- print '\n[%s] %s' % (sign, row[0])
- for effect in dict[itemId]:
- c = db.cursor()
- c.execute(queryEffectName, (effect,))
- for row in c:
- print ' [%s] %s' % (sign, re.sub("&", "",row[0]))
Add Comment
Please, Sign In to add comment