atlas news
    
Coders Legacy
31  août     13h48
The Global Interpreter Lock (GIL) in Python: A Comprehensive History
Siddiqi    The Global Interpreter Lock, commonly referred to as the GIL, has been one of Python’s most discussed features since its inception. The GIL is a mutex that protects access to Python objects, preventing multiple native threads from executing Python bytecode at once. While it simplifies memory...
    13h45
Unlocking the Power of Multiprocessing in Python
Siddiqi    Python is a versatile language that excels in many areas, but when it comes to taking full advantage of multi core processors, it can sometimes feel like hitting a wall. This is where multiprocessing comes in a powerful tool in Python’s arsenal that lets you break through the limitations of the...
30  août     20h50
Understanding the Switch Case Statement in Python 3.10
Siddiqi    Python is known for its simplicity and readability, but one feature it has historically lacked is a native switch case statement, commonly found in other programming languages like C, C, and Java. Instead, Python developers often relied on a series of if elif else statements or dictionaries to...
18  juin     10h09
Adding Data Files in Nuitka (Python Files, Images, etc)
Siddiqi    Nuitka is a Python to C compiler that converts Python code into executable binaries. While Nuitka efficiently compiles Python scripts, incorporating data files such as images, audio, video, and additional Python files requires can be a little tricky. This guide outlines the steps to include various...
06  avril     18h31
How to make ttk.Treeview Editable (Python)
Siddiqi    In this tutorial we will explore how to make the Tkinter Treeview Widget, Editable . In a previous tutorial, we wrote the following code to represent Product data in a Tabular format using the Treeview widget. But the problem with this approach, is that there is no way of editing the Table from...
    11h15
Tkinter Table Widget using Treeview (Python)
Siddiqi    In this tutorial we will explore how to create a Table using the Treeview Widget in Tkinter. The Treeview widget is a versatile widget used to display hierarchical data in a tabular format. It allows for the creation of columns with headings and supports features such as sorting, selection, and...
04  avril     03h16
Searchable Tkinter Combobox with visible Dropdown while editing
Siddiqi    Tkinter is not the most modern GUI library out there, and can be a bit lacking in certain features that are now common across modern GUIs. For example, a popular feature which we see in modern dropdowns combo boxes is that they are searchable . This means that if there are options available...
27  mars     20h44
Interactive Scatter Plot Highlighting and Deletion with Matplotlib
Siddiqi    In this article we will show case a useful piece of code that was developed during a certain side project of mine. The Project I was working on required an Interactive Scatter Plot that the user could interact it with in many ways. This includes features like being able to mass select and highlight...
04  mars     20h18
Exploring Data Tables in Tkinter with PandasTable
Siddiqi    In this tutorial, we will delve into the powerful combination of Pandas and Tkinter through the PandasTable library. PandasTable provides a convenient way to display and interact with pandas DataFrames in a Tkinter GUI. Prerequisites: You will also need to install the pandas and pandastable...
19  janvier     12h59
Creating a Login Form with PyQt6
Siddiqi    In this tutorial, we’ll walk through the process of creating a simple login form using PyQt , a set of Python bindings for Qt, a powerful GUI toolkit. We’ll create a window with a title, username and password fields, and buttons for registration and login. Additionally, we’ll implement a basic...