Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] VS Code Editor
#1
Hello is there any way of cleaning up the terminal i would like to see just the hate how it shows every last folder and sub folder leading to the PY. files
Reply
#2
Not quite sure what you're asking, but right click-->clear will clear the screen.
Reply
#3
Below is terminal from VISUAL and PYCHARM i would like the visual to look as simple and short as Paycharm



this is the terminal in visual studio :

Windows PowerShell
Copyright © Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\Users\Ozz.llc\Desktop\PYTHON> & C:/Users/Ozz.llc/AppData/Local/Programs/Python/Python38/python.exe c:/Users/Ozz.llc/Desktop/PYTHON/random.py
hello there world
PS C:\Users\Ozz.llc\Desktop\PYTHON>

AND THIS IS PYCHARM:

C:\Users\Ozz.llc\PycharmProjects\first\venv\Scripts\python.exe C:/Users/Ozz.llc/PycharmProjects/first/app.py
hello world from Pycharm

Process finished with exit code 0
Reply
#4
Visual is not PYCharm and Vice Versa.
Both have their good and bad qualities.
I have used both and opt for VSCode.
Reply
#5
It seems to me that this is question about terminal settings. Please read VS Code documentation: Integrated Terminal
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Reply
#6
You have long path both to where python is installed and where you run code from.
But dos it rellay matter as you are not typing that it's only VS Code that show the executing command.
In PyCharm example you are running from a virtual environment,so that's not same.

Example for me is quite short as a have shorter paths.
C:/Python37/python.exe e:/div_code/scrape/cnn.py
Here a image i used before,the output is generated automatic when i push run button as i use Code Runner.
[Image: 6qb2Hb.png]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  My code works on Jupyter Lab/Notebook, but NOT on Visual Code Editor jst 4 985 Nov-15-2023, 06:56 PM
Last Post: jst
  [split] Explain the python code in this definition Led_Zeppelin 1 737 Jan-13-2023, 10:20 PM
Last Post: deanhystad
  VSCODE Split Editor Window Krischu 1 1,263 Mar-09-2022, 10:29 AM
Last Post: Larz60+
  Music Notation editor; how to build the editor? direction to go? philipbergwerf 1 1,680 Jan-01-2022, 04:56 PM
Last Post: Larz60+
  [split] Kera Getting errors when following code example Image classification from scratch hobbyist 3 4,607 Apr-13-2021, 01:26 PM
Last Post: amirian
  [split] Python code help sairam17519 3 2,622 Sep-10-2020, 01:44 PM
Last Post: sairam17519
  How to Split Output Audio on Text to Speech Code Base12 2 6,859 Aug-29-2020, 03:23 AM
Last Post: Base12
  How to split and combine embedded lines using less code pjfarley3 6 2,466 Aug-13-2020, 09:13 PM
Last Post: pjfarley3
  [split] SyntaxError when trying to execute code on Windows nehaya 2 1,993 Aug-04-2020, 11:18 AM
Last Post: nehaya
  Question re: running code in Editor (i.e. Atom) vs Python interpreter rok 3 2,417 Jun-29-2020, 09:20 PM
Last Post: bowlofred

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020