| 45 | print row |
| 46 | |
| 47 | def readPubkeys(): |
| 48 | print 'Printing everything in pubkeys table:' |
| 49 | item = '''select address, transmitdata, time, usedpersonally from pubkeys''' |
| 50 | parameters = '' |
| 51 | cur.execute(item, parameters) |
| 52 | output = cur.fetchall() |
| 53 | for row in output: |
| 54 | address, transmitdata, time, usedpersonally = row |
| 55 | print 'Address:', address, '\tTime first broadcast:', unicode(strftime('%a, %d %b %Y %I:%M %p',localtime(time)),'utf-8'), '\tUsed by me personally:', usedpersonally, '\tFull pubkey message:', hexlify(transmitdata) |
| 56 | |
| 57 | def readInventory(): |
| 58 | print 'Printing everything in inventory table:' |