The subprocess module allows you to spawn new processes, connect to their input/output/error pipes, and obtain their return codes. This module intends to replace several older modules and functio...
http://python-catalin.blogspot.com/2024/04/python-3121-using-subprocess-python.html
I've added another introductory example to my GitHub repository with Google Colab notebooks on how to use quantum circuits with the Python package called qiskit and the IBM Quantum Platform. I us...
http://python-catalin.blogspot.com/2024/04/python-31012-colab-quantum-circuits.html
A few days ago I tested this functionality named Federated Message Bus of the Linux distribution called Fedora. Federated Message Bus is a library built on ZeroMQ using the PyZMQ Python bindings....
http://python-catalin.blogspot.com/2024/04/python-3123-python-and-federated.html
This python package named aiohttp provides asynchronous HTTP client and server functionality. You can find more about this pytho package on the GitHub repo and the official page. The last time I ...
http://python-catalin.blogspot.com/2024/04/python-3121-aiohttp-python-package-part.html
NiceGUI is an easy-to-use, Python-based UI framework, which shows up in your web browser. You can create buttons, dialogs, Markdown, 3D scenes, plots and much more. The project can be found on th...
http://python-catalin.blogspot.com/2024/04/python-3121-nicegui-ui-framework-over.html
SciPy 1.13.0 is the culmination of 3 months of hard work. This out-of-band release aims to support NumPy 2.0.0, and is backwards compatible to NumPy 1.22.4. The version of OpenBLAS used to build ...
http://python-catalin.blogspot.com/2024/04/news-scipy-1130-new-release.html
I tried using the Fedora Messaging online tool with the python package of the same name on Python version 3.12.2. You can find the documentation on the official page./div> I created a working ...
http://python-catalin.blogspot.com/2024/04/python-3122-python-and-fedora-messaging.html
Today I test a simple python script for Pool and ThreadPool python classes from multiprocessing python module. The main goal was to test Python’s multiprocessing performance with my computer. N...
http://python-catalin.blogspot.com/2024/03/python-3121-about-multiprocessing.html
Django was design and developed by Lawrence journal world in 2003 and publicly released under BSD license in July 2005. Currently, DSF (Django Software Foundation) maintains its development and r...
http://python-catalin.blogspot.com/2024/03/python-2712-django-running-on-glitch.html
This is a simple source code I created to read EXIF date from a photo. import sys import PIL import PIL.Image as PILimage from PIL import ImageDraw, ImageFont, ImageEnhance from PIL.ExifTags impo...
http://python-catalin.blogspot.com/2024/03/python-3121-read-exif-data-with-pil.html
A simple Python library for easily displaying tabular data in a visually appealing ASCII table format, see this webpage. Let's install with pip tool: pip install prettytable Collecting prettytabl...
http://python-catalin.blogspot.com/2024/03/python-3121-prettytable.html
Using scripts in or out of the environment is useful and accessible. Another version is to create an executable, but it will no longer allow the same access to the source code resource and the ex...
http://python-catalin.blogspot.com/2024/03/python-3121-from-script-to-executable.html
For $60 you can buy a lot of all the card decks from Michael Driscoll. Get a copy of all my self-published Python eBooks : Python 101 - 2nd Edition Python 201: Intermediate Python ReportLab: PDF ...
http://python-catalin.blogspot.com/2024/03/news-all-books-bundle-from-michael.html
Here is a site called clcoding.com for those who use the python language with many simple examples and even a test fairy: python coding challenge day.
http://python-catalin.blogspot.com/2024/03/news-website-for-python-users.html
This is an web based code editor on python flask framework. Let's install with pip tool: pip install flaskcode Collecting flaskcode Downloading flaskcode-0.0.8.tar.gz (14.5 MB) ... Installing col...
http://python-catalin.blogspot.com/2024/03/python-3121-flaskcode-web-based-code.html
In this simple example, I add a test class with unittest to sleep the application and QtTest to wait for the window to open after pressing the button. To run the unittest you need to uncomment th...
http://python-catalin.blogspot.com/2024/03/python-qt6-test-application-with.html
Bandit is a tool designed to find common security issues in Python code. To do this Bandit processes each file, builds an AST from it, and runs appropriate plugins against the AST nodes. Once Ban...
http://python-catalin.blogspot.com/2024/03/python-3121-bandit-tool-for-security.html
I tried to find a solution for processing PDF files. The newer Python package called "unstructured" I tested was a disaster and a waste of time and resources. Today I will show you tests with the...
http://python-catalin.blogspot.com/2024/03/python-3121-testing-pypdf-version-410.html
The pip is a general-purpose package installer for both libraries and apps with no environment isolation. pipx is made specifically for application installation, as it adds isolation yet still ma...
http://python-catalin.blogspot.com/2024/02/python-3121-pipx-tool.html
Kaitai Struct is a declarative language used to describe various binary data structures, laid out in files or in memory: i.e. binary file formats, network stream packet formats, etc. The main ide...
http://python-catalin.blogspot.com/2024/02/python-3121-kaitai-python-module-and.html
Today I tested YOLOv9 with GELAN-C model. Find the notebook on my GitHub repo.
http://python-catalin.blogspot.com/2024/02/python-31012-yolo9-with-gelan-c-model.html
NVCC use CUDA C/C++ source code and allows developers to write high-performance GPU-accelerated applications by leveraging the power of NVIDIA GPUs for parallel processing tasks. Today I test som...
http://python-catalin.blogspot.com/2024/02/python-31012-few-example-for-cuda-and.html
This is the source code that show you how to use QSqlDatabase, QSqlQuery, QSqlTableModel: import sys from PyQt6.QtWidgets import QApplication, QMainWindow, QTableView from PyQt6.QtSql import QSql...
http://python-catalin.blogspot.com/2024/02/python-3121-simple-view-for-sqlite.html
This is a source code for a minimal browser with PyQt6 and PyQt6-WebEngine. You need to install it with the pip tool: pip install PyQt6 PyQt6-WebEngine You can update the pip tool with python.exe...
http://python-catalin.blogspot.com/2024/02/python-3121-simple-browser-with-pyqt6.html
I just discovery this option to use ShellExecuteA in Python. Let's see some example: import ctypes import sys def is_admin(): try: return ctypes.windll.shell32.IsUserAnAdmin() except: return Fals...
http://python-catalin.blogspot.com/2024/01/news-how-to-use-shellexecutea-with.html