def example(*args):
  for i in args:
    for t in i:
      print(t) 
example([1,55,73], [2,95,93]);Main_List = [[[2]], [4, [5, 6, [6], 6, 6, 6], 7]]
def flatten(lst):
    while lst:
        sublist = lst.pop(0)
        if isinstance(sublist, list):
            lst = sublist + lst
        else:
            yield sublist
print(list(flatten(Main_List)))cur.execute('SELECT * FROM tags_db WHERE Path=?', (path, ))
if cur.fetchone():
	cur.execute('UPDATE tags_db SET Song_Title=?, Album_Title=?, Song_Artist=?, Album_Artist=?, Year_of_Publishing=?, Track_Number=?, Length=?, Bitrate=?  WHERE Path=?', (song_title, album_title, song_artist, album_artist, year_of_publishing, track_number, length, bitrate, path))
else:
	cur.execute('INSERT INTO tags_db VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?)', song_tags)