DEV Community

El Bruno for Microsoft Azure

Posted on • Originally published at elbruno.com on

#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)