Hello List,<br><br>Has this been covered before? Trailed Codeplex and mailing list :-)<br><br>import encodings<br>import twitter<br>api = twitter.Api()<br>statuses = api.GetPublicTimeline()<br>print [<a href="http://s.user.name">s.user.name</a> for s in statuses]<br>
<br>Produces:<br><br>Traceback (most recent call last):<br>&nbsp; File it.py, line 4, in Initialize<br>&nbsp; File C:\Code\OSProjects\twitter.py, line 923, in GetPublicTimeline<br>&nbsp; File C:\Code\OSProjects\twitter.py, line 1435, in _FetchUrl<br>
&nbsp; File C:\python25\lib\urllib2.py, line 381, in open<br>&nbsp; File C:\python25\lib\urllib2.py, line 398, in _open<br>&nbsp; File Snippets.debug, line unknown, in _call_chain<br>&nbsp; File C:\python25\lib\urllib2.py, line 360, in _call_chain<br>
&nbsp; File C:\python25\lib\urllib2.py, line 1107, in http_open<br>&nbsp; File C:\python25\lib\urllib2.py, line 1096, in do_open<br>TypeError: _fileobject() got an unexpected keyword argument &#39;close&#39;<br><br clear="all">CPython works as expected.<br>
<br>Thanks,<br>Davy<br><br>-- <br>Davy Mitchell<br>Blog - <a href="http://www.latedecember.co.uk/sites/personal/davy/">http://www.latedecember.co.uk/sites/personal/davy/</a><br>Twitter - <a href="http://twitter.com/daftspaniel">http://twitter.com/daftspaniel</a><br>
Skype - daftspaniel <a href="http://needgod.com">http://needgod.com</a>