Best Python IDEs for Linux

Looking to code Python on your Linux system? Here are the best IDEs you can use for Python programming in Linux desktop.
Warp Terminal

Python is a popular scripting language among Linux users. It is also used extensively in Artificial Intelligence and Machine Learning, some of the most popular buzzwords in computing.

Running Python script in Linux takes just a command. However, for serious Python programming, an IDE is always a better choice.

An IDE combines various tools for seamless development with a specific programming language. Generally, it contains a code editor with syntax highlighting, a compiler and/or interpreter, debugging tools and other features needed to work with the specific programming language.

If you are learning Python and want to use an IDE to test things, I have compiled a list of them to help you.

Many other IDEs are available for Python in Linux, which you won’t find here. They work with Python2 only (which has been deprecated). Hence, I have omitted such options.

1. Eric

python ide eric

Eric is an open-source editor based on the Qt6 toolkit and is written in Python itself.

Eric boasts a ton of features for Python and is a proper IDE. It supports downloadable plugins, which can further extend its capabilities.

It also has an Integrated Python debugger, Interactive Python shell, and Integrated support for Python Package Management (pip), to name a few of the many features it provides.

Go check out the extensive list of its features on its official website.

2. Geany

python ide geany

Geany is an open source IDE based on the GTK3 toolkit, which is small and lightweight.

Being a lightweight application, it runs perfectly fine on every type of Linux distro no matter the desktop environment. It supports many programming languages, including Python. It also supports some plugins to extend its capabilities.

Not to forget, Geany is almost one of the best Notepad++ alternatives for Linux.

3. PyCharm

python ide pycharm

PyCharm is one of the most popular and advanced Python IDEs developed by JetBrains.

JetBrains is the organization behind some of the best IDEs like Android Studio and the programming language Kotlin used for Android development.

It is an open-source application which is quite an extensive application compared to others in the list.

An open-source community edition is available for free. Although, a paid version is also available with more features needed for professional development, which is a proprietary edition.

It has a load of features specific to the Python language, as it is specially tailored for the same.

You can check out all its features on the website and its paid version’s pricing.

Xonsh Shell Combines the Best of Bash Shell and Python in Linux Terminal
Which is the most popular shell? I guess you’ll say bash or perhaps zsh and you are right about that. There are several shells available for UNIX and Linux systems. bash, ksh, zsh, fish and more. Recently, I came across another shell which offers a unique twist of combining

4. Spyder

python ide spyder

Spyder is an open-source IDE based on a Qt toolkit designed for scientific use.

It has MATLAB (language and platform for data analysis) like features. Spyder, being built for Scientific and Engineering applications, has features with which analysis can be done graphically using histograms, graphs, etc.

Scientific tools provided by Spyder can be somewhat similar to the paid tools available with PyCharm. And that’s not all, it also provides a VIM plugin for providing VIM keybindings support.

Visit Spyder’s website for more information about its applications for scientists and engineers.

5. Thonny

python ide thonny

Thonny is an open source Python IDE based on the Tk GUI toolkit. It is tailored for teaching Python to beginners.

Even though it uses a different GUI toolkit, Thonny is incredibly lightweight and simple to use when compared to other IDEs.

If you are a beginner, go for it for its simplicity and small-sized installation. You can explore its GitHub page to know more about it.

Thonny is an Ideal IDE for Teaching Python Programming in Schools
Running a Python program in Linux is as simple as executing the Python file in the terminal. But that’s not very convenient for everyone and it doesn’t help you debug your programs. Too raw. There are several IDEs and text editors that can be used for Python development.

6. Visual Studio Code

python ide vscode

Visual Studio Code is an open-source Electron-based application developed by Microsoft.

The user experience is well-polished compared to most other options.

It can be used for many programming languages. But, to use it for coding in Python, you need to grab the plugin that enables it.

Once you install the plugin required, you can start writing code in Python and learn about issues through its debugger. Being an Electron-based application, some users may not like it for the extra overhead. But, it works fairly well!

If you want to use Microsoft’s Visual Studio Code without all its telemetry, you can opt for VSCodium.

7. Bluefish

python ide bluefish

Bluefish is an open-source editor based on the GTK3 toolkit for web designers.

However, being a very powerful editor, one can also use it to write code in Python. I did not find any way to execute the file in Bluefish, but it supports syntax highlighting.

The development activity appears to be inactive since 2020. You can head on to its official website to know more.

Wrapping Up

One can arguably use any text editor which supports syntax highlighting for writing code in Python, e.g., Emacs and VIM also Notepadqq. But, in my opinion, using an IDE provides a more comfortable environment for coding as compared.

Python has many applications, ranging from web development to artificial intelligence. Therefore, some IDEs can provide features specific to a particular application of Python, which may not be available in some IDEs.

There is no good or bad IDE, as it all boils down to the thing you want to use Python for.

Which IDE would you use for Python? Your suggestions are always welcome in the comments.

About the author
Anuj Sharma

Anuj Sharma

A Linux hobbyist who lives in the Himalayas.

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world


Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.