Hello
It's Corinne.
I'm studying Python while watching the Fast Campus web development lecture, but the input() function doesn't move as I want, so I'm asking you a question.
I downloaded the version of Python 3.9.1 It's running with visual studio code.
When you run the program, a specific path is automatically entered at the first input().
I think it's working normally after the second input().
c:/python/virtual/Scripts/activate.bat
This is the path that I created the virtual environment with python-mvenv
.
In addition, I think I touched the tasks.json
file as instructed by the Internet instructor.
I deleted the program and the virtual environment and tried to download it again, but it doesn't fit. No matter how much I googled, I couldn't figure out how to fix it.
I'd really appreciate your help!
input python vscode
After erasing and running tasks.json, it works fine!!!
The code was as below, but I'll google what's wrong and study more!!
Thanks for your help.~
{
// // See https://go.microsoft.com/fwlink/?LinkId=733558
// // for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Project Label",
"type": "shell",
"command": "python",
"args": [
"${file}"
],
"presentation": {
"reveal": "always",
"panel": "new"
},
"options": {
"env": {
"PYTHONIOENCODING": "UTF-8"
}
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
© 2024 OneMinuteCode. All rights reserved.