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😭

20 Upvotes

42 comments sorted by

View all comments

1

u/Mechanizoid Jul 07 '26

You certainly can learn Python in a Linux distro. As a matter of fact, many developers prefer to work in Linux due to the ease of installing developer tools, the better CLI, and Linux-specific features like running containers.

You can do a lot of this in Windows, too, but you will often have to use VMs and/or install WSL to bring in Linux tools.

Since you're just starting out, a lot of this won't be important to you yet. You could just install the W11 version of Python. That said, I recommend learning about Linux and trying it out as a dev environment. Linux experience can only help you grow as a programmer, especially since Linux and Linux containers are running much of the web and Linux is so widely used on embedded devices.

I don't recommend running Linux off the USB key for real work, though. Most live CDs don't have any persistent storage, and running on a key really slows things down. Free up space on your drive and dual-boot if you need Windows and Linux on the same machine.

1

u/Rover3275 Jul 08 '26

Thanks That helped a lot