I'm just getting started with coding in Python and I've been using VS Code. However, whenever I run my code in the terminal, there's so much extra text that it makes it hard for me to focus on the actual output of my code. Is there a more streamlined way to run my Python scripts and get cleaner output?
3 Answers
Check out Jupyter notebooks! They’re awesome for running Python code and make it look a lot nicer. You can actually run them right from VS Code without needing to set up a JupyterLab server, which is pretty convenient. Just have a look at the Jupyter notebooks guide on the VS Code site for some help getting started!
Using notebooks is definitely the way to go. They let you run code chunks and see the results immediately, which can make it so much easier to read and manage your output.
Honestly, this is a skill you’ll build over time. As you code more and get used to the logs, it’ll get easier to focus on what you actually need. But exploring options like Jupyter can definitely help in the meantime!
Thanks a lot!