robbiebarrat / twitter-contest-enterer

Twitter bot that mass-enters contests on twitters, and (mostly) avoids bot-detection accounts.
MIT License
135 stars 24 forks source link

Bad Code? #13

Closed Oassiss76 closed 6 years ago

Oassiss76 commented 6 years ago

So I tried out the bot, and I keep on getting this error code: https://gyazo.com/2c50597ce9fdf722020e9f0584d563f6

robbiebarrat commented 6 years ago

you're using python 3, while this code is written in python 2.7

change all of the print statements from

print "something" + "somethine else"

to

print("something" + "something else")

just wrap it in parenthesis and remove the space immediately after the word print and it should work.

Oassiss76 commented 6 years ago

It worked, thank you so much

On Fri, Jun 15, 2018 at 10:51 AM Robbie Barrat notifications@github.com wrote:

you're using python 3, while this code is written in python 2.7

change all of the print statements from

print "something" + "somethine else"

to

print("something" + "something else")

just wrap it in parenthesis and remove the space immediately after the word print and it should work.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/robbiebarrat/twitter-contest-enterer/issues/13#issuecomment-397696200, or mute the thread https://github.com/notifications/unsubscribe-auth/AmbBDSBx7v29Rg0EzvuJ2lND2KwIC2sOks5t8_Q-gaJpZM4UpEBr .

dimitrilap commented 6 years ago

@robbiebarrat This issue can probably be closed, right? Sorry to bother you.

robbiebarrat commented 6 years ago

haha you're good - saw this and totally forgot. closing now