Hello,
I'm going through the opening chapters of Eric Matthes' "Python Crash Course (3rd Ed)", and its recommendation for simplifiying the output of my code doesn't seem to be sticking for me. He recommends adding a launch.json file to the folder in which my Python work is sitting in, and switch "console": integratedTerminal" to "internalConsole", which (seemingly) hides the lengthy output of paths my HelloWorld program is pulling from, and leaves just the output. This does work... once, and then reverts to spitting out the full output after the program has been closed and reopened. I do make sure to save before closing out, and deleting the launch.json file and recreating it just duplicates the problem. Thank you in advance!
Here's his accompanying github page where he gives the instructions for this (although in the textbook, he also includes "justMyCode": true beneath "console")
https://ehmatthes.github.io/pcc_3e/setup_instructions/configuring_vs_code/
Here's my launch.json file:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
"version": "0.2.0",
"configurations": [
{
"name": "Python Debugger: Current File",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "internalConsole"
}
]
}
And my very long, elaborate Hello World:
print("Hello Python world!")