DEV Community

El Bruno for Microsoft Azure

Posted on β€’ Originally published at elbruno.com on

2 1

#Python 🐍 – how to find where Python is intalled – working with #reTerminal @Seeedstudio and @code

Hi !

Setting up my Seeedstudio reTerminal and Visual Studio Code, I realized that Python was already installed, but I’m not sure where πŸ€”.

So, in the Visual Studio Code terminal (you can do this in the bash), first I check the version of Python with the command


python3 -V

Enter fullscreen mode Exit fullscreen mode

And, hey I got 3.7 !

Now I open python and type these 2 lines


import sys
sys.executable

Enter fullscreen mode Exit fullscreen mode

And there it is, the location of Python3

how to find python location in linux on a reterminal

Bonus: do you see CoPilot in VS Code Tray, yes ! CoPilot works also on Raspberry Pi and reTerminal!

Happy coding!

Greetings

El Bruno

More posts in my blog ElBruno.com.


Top comments (0)

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay