import common as cm playlists = cm.getData('playlists') for pl in playlists: print(pl['name'])