Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I'm getting this error message #11

Open
snoock opened this issue Dec 6, 2017 · 4 comments
Open

I'm getting this error message #11

snoock opened this issue Dec 6, 2017 · 4 comments

Comments

@snoock
Copy link

snoock commented Dec 6, 2017

Enter the number of the action that you want to take: 3
Do you want to keep going? Enter yes or no.
yes

Traceback (most recent call last):
File "D:\tweet\twitterBot.py", line 344, in
main_menu()
File "D:\tweet\twitterBot.py", line 67, in main_menu
Continue()
File "D:\tweet\twitterBot.py", line 328, in Continue
keep_going = input('Do you want to keep going? Enter yes or no. \n'
File "", line 1, in
NameError: name 'yes' is not defined

sorry I'm a noob

@axeforeverjumo
Copy link

axeforeverjumo commented Jan 25, 2018

Yes, the problem is your are inserting to a String variable this:
continue = yes
You have to make it like this:
continue = 'yes'
for that not write

yes

Write on the terminal

'yes'

And its going to work perfect.

@Wrexen
Copy link

Wrexen commented Mar 13, 2018

Getting the same error. Even if i type 'yes' the bot will restart at the main menu.
Someone please can help ?

Greeting

@brahmanggi
Copy link

bump

@SPIRY-RO
Copy link

Same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants