<s> import sqlite3 <EOL> def display_database ( path , db ) : <EOL> conn = sqlite3 . connect ( path ) <EOL> cur = conn . cursor ( ) <EOL> db = cur . execute ( "<STR_LIT>" % db ) <EOL> for row in db : <EOL> for e in row : <EOL> print e <EOL> print '<STR_LIT:\n>' <EOL> conn . close ( ) </s>
