Did you see the link i posted.
Here Configuring Available Python Interpreters or just for local(if want to switch 2 to 3) Configuring Local Python Interpreters.
So let say you have install python 36 to
Then you go into Configuring Available Python Interpreters and point it to
Then it will use this version for all Project.
The this code shall not give you
If get
Here Configuring Available Python Interpreters or just for local(if want to switch 2 to 3) Configuring Local Python Interpreters.
So let say you have install python 36 to
C:\Python36
Then you go into Configuring Available Python Interpreters and point it to
C:\Python36\python.exe
Then it will use this version for all Project.
The this code shall not give you
NameError
when enter a string.If get
NameError
you still using Python 2.x.first_name = input("First name: ") print(first_name)