TwitterFollowBot icon indicating copy to clipboard operation
TwitterFollowBot copied to clipboard

my_bot = TwitterBot, my_bot = TwitterBot() problem

Open LeoKolade opened this issue 8 years ago • 1 comments

hello i'm really confused here as im VERY NEW to programming. Any time i post my_bot = TwitterBot , it seems to work but then the next command i put in my_bot.send_tweet("Hello People") give me this TypeError: unbound menthod send_tweet() must be called with TwitterBot instance as first argument (got str instance instead)

if i use my_bot = TwitterBot() it gives me

my_bot = TwitterBot() Traceback (most recent call last): File "", line 1, in File "C:\Python27\lib\site-packages\TwitterFollowBot_init_.py", line 42, in init self.bot_setup(config_file) File "C:\Python27\lib\site-packages\TwitterFollowBot_init_.py", line 78, in bot_setup with open(config_file, "r") as in_file: IOError: [Errno 2] No such file or directory: 'config.txt'

i am soooo confused please help

LeoKolade avatar Apr 20 '17 02:04 LeoKolade

Whene you open :

cd TwitterFollowBot

Did you see file named config.txt ?

Any way I like you new in the programming but

chemostafa avatar Jan 20 '18 15:01 chemostafa