2

In visual studion code, after installing python, I added a debug configuration provide by visual studio code (called 'current configuration') that lets me run python. I'd like the output of my executed python code to be clean and NOT show this long path every time (in blue text). How can I do this? See image attached. enter image description here

myfunnyfella
  • 1,357
  • 3
  • 18
  • 25
  • Does this answer your question? [How to hide file paths when running Python scripts in VS Code?](https://stackoverflow.com/questions/61176552/how-to-hide-file-paths-when-running-python-scripts-in-vs-code) – Gino Mempin Feb 05 '21 at 14:18

3 Answers3

1

Make sure that your launch.json configuration console setting is set to "internalConsole"

0

Unfortunately there is no way to avoid that output as it's required to launch the debugger.

Brett Cannon
  • 14,438
  • 3
  • 45
  • 40
0

Open your launch.json file and change the value of console to 'none'.