Hi,
Its possible I got the wrong one. I was using python-twitter from the
Fedora repositories and the code looked similar enough -- but its
easily possible that they are different. Anyway, glad to hear you got
it working after a few tweaks.
BTW, you didn't answer my last questions: can you run th
Hi, hmm there is no 0.8 version for python twitter:
http://code.google.com/p/python-twitter/ . I looked for a twitter python api
v0.8 and found twython, another api for twitter, I guess you were talking
about that one. I downloaded the latest version of twython (1.3.4)
http://pypi.python.o
Hmm, it looks like I am using version 0.8, not 0.6. Perhaps you can
upgrade? Does your code work properly when running directly from the
command line? Can you import simplejson directly from the Python
prompt?
Anthony
On Fri, Nov 26, 2010 at 8:42 PM, Ivan Castillo wrote:
>
> Thanks for the repli
Thanks for the replies, i tried to import json module in twwet.py but the
result is the same :
C:\Users\Calcifer\Desktop\twi>twwet.exe
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27
, in
exec code in m.__dict__
File "tww
Thanks. It looks, though, that you must not be running the same
twitter package as I was. I downloaded it last night from the Fedora
repositories and it very clearly shows that for Python 2.7 it imports
the json module and not the simplejson module. Perhaps you can look at
the line in question in t
C:\Users\Calcifer\Desktop\twi>twwet.exe
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27
, in
exec code in m.__dict__
File "twwet.py", line 1, in
File "build\bdist.win32\egg\twitter.py", line 27, in
ImportError: No modu
Hi,
Ok, I tried your code on my Linux box. It works correctly both frozen
and unfrozen. If I manually remove simplejson then I get the warning
below) but the code still works. That is because with Python 2.7 json
is built-in to the library and you don't need simplejson at all. I
have added a hook
Hi im writting a simple python script which only reads tweets and printsthe
last one, im using this api http://code.google.com/p/python-twitter/it depends
on simplejson, this is my twwet.py code: import twitterapi =
twitter.Api()statuses = api.GetUserTimeline("twitter")last_msg =
statuses[0].t