본문 바로가기
Python/0x10-sqlite

sqlite ][ select 해보기

by SpeeDr00t 2019. 8. 27.
반응형

sqlite ][ select 해보기

■ 사용법

import sqlite3
conn = sqlite3.connect('/mnt/hgfs/result_block_chain/address_with_balance.lite')
c = conn.cursor()
for row in c.execute('SELECT * FROM balance') :
print(row)
view raw sqlite1.py hosted with ❤ by GitHub

반응형