반응형
sqlite ][ select 해보기
■ 사용법
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |


반응형
'Python > 0x10-sqlite' 카테고리의 다른 글
sqlite ][ where절 사용 해보기 (0) | 2019.09.02 |
---|---|
directory scan][ 지정 directory 내의 모든 sqlite 파일 select 해보기 (0) | 2019.08.30 |