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

NameError: name 'raw_input' is not defined #2

Open
NarutoBetty opened this issue Sep 24, 2020 · 1 comment
Open

NameError: name 'raw_input' is not defined #2

NarutoBetty opened this issue Sep 24, 2020 · 1 comment

Comments

@NarutoBetty
Copy link

运行报错 :
NameError: name 'raw_input' is not defined
=== end compare mysql db schema ===
Traceback (most recent call last):
File "sync_mysql_schema.py", line 89, in
main()
File "sync_mysql_schema.py", line 58, in main
is_exec = raw_input("exec sync ddl sql on target db? [Y/N]")
NameError: name 'raw_input' is not defined

@NarutoBetty
Copy link
Author

python3.0 后raw_input变成了input,修改后可以了,可以价格版本区分,同步成功了

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

1 participant