Last post, we explored the basics of Python. We discussed information about the birth of the programming language, a little bit of history about it, its main goals, and some basic syntax. This time around, we will be taking a look at some of the most popular IDEs and tools in Python that can make coding in Python a breeze.
IDLE, or Integrated Development and Learning Environment is one of the most popular IDE's to use with python. For starters, like many others on this list, IDLE is a free Python IDE. Additionally, IDLE has some awesome features, an easy installation, and works on almost all operating systems. Some of the bright points of this coding environment include an efficient debugger, syntax highlighting, as well as the ability to search in or for multiple files simultaneously. IDLE is also considered to be very beginner friendly, making it the perfect IDE for someone who is just beginning to learn Python.
Jupyter notebook is an IDE that is used mostly by data scientists and machine learning engineers because it has the ability to test code only executing one cell, rather than running the whole program like most other IDE's. It is also seen as one of the best IDEs for code collaboration because it works on the browser, and can be annotated for others, as well as having a live code sharing feature. There are also some data science libraries integrated into Jupyter such as Pandas, Matplotlib, and NumPy.
Thonny is another free IDE that is useful for learning as well as teaching Python programming. Although it does have more of an "old school" look to it, it still comes with some impressive features to assist you on your coding journey. Some of these are an automatic syntax error detector, a detailed view of variable used in a Python project, and an easy to use debugger built in.
-Visual Studio Code
According to the developers survey conducted by Stack Overflow, Visual Studio Code is the most popular and most used of any IDE in 2022. VSC's environment supports many different languages, and Python is no exception. One of the perks of Visual Studio Code is that it is free, but this hardly scratches the surface as far as cool things you can do with this IDE. Visual Studio Code is an open-source IDE and was created by Microsoft. It comes with many features including git integration, code debugging within the editor, and one of the best smart code completions IDE's have to offer. On top of all of this, Visual Studio Code has a plethora of options or add-ons that you can use to customize your experience, as well as access to helpful extensions that can be downloaded through the IDE.
Alright, that covers just a few of the options available, but if you're interested in finding more and seeing the pros and cons of each IDE, simplilearn has a list of 10 Python IDE's with some notable features listed, as well as a video walkthrough and some beginner tutorials for learning Python. That being said, we should now take a look at some of the Python tools I found interesting or helpful to know about.
This is the bread and butter for Python packages, or modules. If you have Python version 3.4 or later, PIP is automatically included. PIP is used to download many of the other tools on this list, so if you're interested in them you'll want to make sure PIP is installed in your workspace. If you're unsure if PIP is included in the Python IDE you're using, its easy to check the version with the following code:
If you have PIP, this will return your version number, but if you do not you'll be returned the usual "no such file or directory" error.
Scikit-Learn is an open-source Python tool mostly used by data scientists as well as machine learning. This is because Scikit-Learn is extremely efficient in data mining and data analysis. The Scikit-Learn library has many efficient tools for machine learning as well as statistical modeling. It should be noted that Scikit-Learn should not be used for simpler tasks like reading data, manipulating, or summarizing it. This is because there are better libraries for those things such as Pandas and NumPy.
Black is a code formatting tool for python. One of the reasons that Black is a good python tool is due to its properties of being fast and not importing any code to format what you've written. It can be tiring to have to go through your files and manually format everything for readability or making sure that lines are properly wrapping. Black solves this problem by scanning through whatever file(s) you tell it to and automatically formatting them for you. Much like others on this list, Black is installed via the command line using PIP. after that its as simple as running:
This has been a small look at some of the available IDEs and tools that you as a developer can use to customize your experience learning and writing Python. Although this list does contain a few of the most interesting Python tools, this list does not speak to the vast amount of different packages you can install within your python coding environment to help you in almost any way imaginable. Hopefully this post has given you ideas about which tools you'd like to look further into, and maybe even a "favorite" IDE you can download. Below I've included some of the sources I used to write this post as well as some of the docs for the various tools listed above. Thanks for reading!