def display_database(path, db):

    conn = sqlite3.connect(path)
    cur = conn.cursor()

    db = cur.execute("SELECT * FROM %s" %db)

    for row in db:
        for e in row:
            print e
        print '\n'

    conn.close()
dataset/ETHPy150Open hycis/Pynet/pynet/utils/database_utils.py/display_database/original