0

I created another twitter acc to help promote my main, so I was wondering how do you retweet ones account using twython are there any examples?

I found a few but I'm still a little confused? thanks!

What I am trying is:

user_timeline=twitter.getUserTimeline(sreen_name="slaughdaradio", count = 100,) 

to tweet in user_timeline:

print tweet ['text']

It keeps giving me a syntax error for 'tweet'.

BartoszKP
  • 34,786
  • 15
  • 102
  • 130

1 Answers1

0
print tweet ['text']

change to

print(tweet ['text'])

I'm assume your python version is Python3. In Python3, print have changed to print().

labulaka
  • 48
  • 8