Guest User

Untitled

a guest
Jul 17th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. for itemId in dict.iterkeys():
  2. c = newDB.cursor()
  3. c.execute(queryTypeName, (itemId,))
  4. for row in c:
  5. print '\n[%s] %s' % (sign, row[0])
  6. for effect in dict[itemId]:
  7. c = db.cursor()
  8. c.execute(queryEffectName, (effect,))
  9. for row in c:
  10. print ' [%s] %s' % (sign, re.sub("&", "",row[0]))
Add Comment
Please, Sign In to add comment