OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

What is the difference between a Python terminal vs. a bash terminal in VS Code?

  • Thread starter Thread starter JohnM
  • Start date Start date
J

JohnM

Guest
I'm often in VS Code writing a .py file, with a python environment chosen. The integrated bash terminal is enabled by default. In the command window, I have the option to choose "Python: create terminal". The terminals seems the same to me. What are the differences?

More info: The terminal is not interactive at all. It looks and acts just like the bash terminal from what I can tell. Typing a Python command like "import re" results in the same message as a bash terminal in vs code (picture below)

bash

python
<p>I'm often in VS Code writing a .py file, with a python environment chosen. The integrated bash terminal is enabled by default. In the command window, I have the option to choose "Python: create terminal". The terminals seems the same to me. What are the differences?</p>

<p>More info: The terminal is not interactive at all. It looks and acts just like the bash terminal from what I can tell. Typing a Python command like "import re" results in the same message as a bash terminal in vs code (picture below)</p>

<p><a href="https://i.sstatic.net/TacBI.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/TacBI.png" alt="bash"></a></p>

<p><a href="https://i.sstatic.net/gR8i4.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/gR8i4.png" alt="python"></a></p>
 

Latest posts

Top