#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

And, hey I got 3.7 !

Now I open python and type these 2 lines

import sys
sys.executable

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.

More info in https://beacons.ai/elbruno



¿Con ganas de ponerte al día?

En Lemoncode te ofrecemos formación online impartida por profesionales que se baten el cobre en consultoría:

Advertisement

Leave a comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: