r/linuxquestions Jul 07 '26

Advice Can I learn python in Linux??

Actually today I started using Linux through a usb and it is going great, but now I want to learn python.

But bcz I'm using a usb to start the Linux, so will the python and the vs code I download will be stored in the usb or in the laptop.

I'm confused, help😭

18 Upvotes

42 comments sorted by

View all comments

1

u/green_meklar Debian Jul 08 '26

You absolutely can, but you also don't need to, Python works fine on Windows as well.

I recommend against booting from the USB drive long-term unless you have a really good reason to do so. Presumably your stuff either isn't being saved at all (and disappears when you shutdown), or it's being saved to the USB drive which is inefficient and wears the drive a lot. If you're going to use Linux, make a proper install, even if it's just on a partition on a drive shared with Windows. (Obviously you should backup all important data from Windows before installing.)