Unicode error

dirknbr dirknbr at gmail.com
Fri Jul 23 06:56:15 EDT 2010


To give a bit of context. I am using twython which is a wrapper for
the JSON API

 
search=twitter.searchTwitter(s,rpp=100,page=str(it),result_type='recent',lang='en')
        for u in search[u'results']:
            ids.append(u[u'id'])
            texts.append(u[u'text'])

This is where texts comes from.

When I then want to write texts to a file I get the unicode error.

Dirk



More information about the Python-list mailing list