def populate_full_songs_table(db_session, l):
    if not l: # list is empty
        return False
    c = db_session.cursor()
    c.execute("""DELETE FROM songs""")
    for song_list in l:
        c.execute("""INSERT INTO songs (album_id, song_id, title,
                track, time, size, artist_name, album_name)
                VALUES (?,?,?,?,?,?,?,?)""", song_list)
    db_session.commit()
    c.close()
    return True
Get the first header line matching name.
dataset/ETHPy150Open bahamas10/Viridian/AmpacheTools/dbfunctions.py/populate_full_songs_table--crossover with--dataset/ETHPy150Open ofermend/medicare-demo/socialite/jython/Lib/rfc822.py/Message.getfirstmatchingheader