Reputation: 189
Each time i run a print command in Visual Studio Code
i get a ">>>"
and an echo of my print
command!, how can i stop this?, here is a image :
My Code:
print("hello world")
Upvotes: 0
Views: 1787
Reputation: 149
It looks like you're running the print statement from the python interpreter, which means that when you run a line it will print the line, then (if applicable) the output the line produces.
If you're trying to use the print statement within a python script, you should install the python extension for Visual Studio Code, and use it to run the file containing your script.
Upvotes: 2