Nautilus, also known as “Files”, is the default file manager of the GNOME desktop environment. In a previous tutorial we saw how to create and call custom scripts from the Nautilus context-menu: this feature can be really useful but is somehow limited. By installing the nautilus-python package in our favorite Linux distribution, and writing just few lines of Python code, we can overcome such limitations and create proper Nautilus extensions.
Your Debian Linux installation may include multiple python versions and thus also include multiple python binary executables, and it’s possible to change python version that the system is using. In this tutorial, you will see how to install multiple versions of python, and change the python version on Debian using the
update-alternatives python command. Check the sections below to learn how.
PyCharm is a graphical IDE (integrated development environment) that can be installed on Ubuntu Desktop. Many Python programmers enjoy using PyCharm because it can be used to analyze code, debug programs, and is integrated with Git and other version control systems, as well as web development applications. In this tutorial, you will see how to install PyCharm on Ubuntu 20.04 Focal Fossa Linux.
Neither Python nor Git need presentations: the former is one of the most used general-purpose programming language; the latter is probably the most used version control system in the world, created by Linus Torvalds himself. Normally, we interact with git repositories using the git binary; when we need to work with them using Python, instead, we can use the GitPython library.
The objective of this article is to describe how to parse JSON data in Python.
In a previous tutorial we saw the basic concepts behind the usage of Tkinter, a library used to create graphical user interfaces with Python. In this article we see how to create a complete although simple application. In the process, we learn how to use threads to handle long running tasks without blocking the interface, how to organize a Tkinter application using an object oriented approach, and how to use Tkinter protocols.
Tkinter stands for “Tk interface”: the package with the same name on many Linux distributions provides the Python bindings for the Tcl/Tk GUI toolkit. Although other graphical toolkit can be used from Python, like Qt or GTK, Tkinter is the standard (the Python IDLE editor and development environment is written using this toolkit, for example) and probably the easiest to work with.