I have some tuples from an sql query that are a list of album names. However, they output in unicode giving it u' before each name, which I would like to remove. It prints out like this:
((u'test',), (u'album test',), (u'test!',), (u'',), (u'album1',), (u'album2',), (u'album3',), (u'testalbum',))
but i'm looking for just the names such as: test, test, album1, album2 etc.
I've tried using a for loop to encode each album name indivudally, but then i get:
AttributeError: 'tuple' object has no attribute 'encode'
Any suggestions? thank you for your feedback!