Why use Linux for Python development?

Python is a high level programming language. The development time is precious so using Linux based operating systems makes the development easier and fun.

I had been using windows for a couple of months for my Django Projects. Initially during my learning stage windows was working fine for me but as the knowledge and project size grew I faced many difficulties which I want to summarize here. I am not supporting any operating system here but want every Developer to understand the reasons for switching. For following reasons every Developer should switch to Linux based OS like Ubuntu for Python Development.

  • Some packages are not available for windows, if they are available it will be difficult to configure them in your projects.

  • If you are working on a project in Django, flask and other frameworks you would like to deploy it so it will be available for public to see. In more than 90% of the cases your deployment environment will be Linux based so its best to test your application locally on the same environment as in deployment because here you are allowed to make mistakes and improve.

  • Almost every tutorial on Python use Linux based systems like Ubuntu. These tutorials are by experts so it's good to follow best practices used by experienced developers.

  • When your projects get complex its very easy to find Dependencies for your projects like extensions, libraries etc. in Linux based OS. In Windows you have to search for the right site to download the package and go through the hassle of installation and configuration. Sometimes the search for packages takes a lot of time, in Linux its just "apt-get" (or similar).

  • Python comes pre-installed in Ubuntu and other versions so no need to install python on your system.


Switch to linux and use apt-get to install your packages.

Happy Coding.

By @Parbhat Puri in
Tags : #python, #linux, #windows, #ubuntu, #Programming,

Comments !