Python
Scripting, web frameworks, testing and data work. 78 posts, newest first. All topics
Replicating Laravel's Crypt::decryptString Logic in PythonA technical deep dive into decoding Laravel encrypted strings using Python's 'pycryptodome' library. Learn the AES-256-CBC, HMAC-SHA256 protocol used by Laravel and how to successfully verify the MAC and decrypt the payload outside the PHP environment.
How to build a contact book cli application in PythonA contact book is a simple but useful tool that allows users to store and manage their contacts. In this article, we will discuss how to implement a contact book using Python and SQLite.
Building Fast and Efficient Web APIs with FastAPI in PythonIn this article, we'll explore the basics of FastAPI, including how to set up a FastAPI project, define API endpoints, and use FastAPI's powerful features such as dependency injection and validation
Using TensorFlow in Python A Comprehensive GuideIn this article, we'll explore how to use TensorFlow in Python, covering essential topics like data preparation, model creation, training, evaluation, and deployment
Getting Started with Python-Levenshtein A Comprehensive GuideIn this article, we will discuss how to install and use the Python-Levenshtein library in your Python projects
An Introduction to Flask A Lightweight Web Framework for PythonIn this article, we will explore the basics of Flask and demonstrate how to create a simple web application
Using Pygame in Python A Comprehensive GuideIn this article, we will provide a comprehensive guide on using Pygame in Python, covering topics such as installing the library, creating a simple game, handling user input, and managing game objects
Using Requests in Python A Comprehensive GuideIn this article, we will cover:
Mastering Python Development with PyCharmIn this article, we will dive into the key features of PyCharm and explore how to use them effectively
How to extract text from a PDF file in PythonTo extract text from a PDF file, you can use the `PyPDF2` library.
A Comprehensive Guide to Data Visualization with Seaborn in PythonIn this article, we will explore Seaborn, a powerful Python library for data visualization
Mastering Personal FinanceA Practical Guide to Building Wealth and Financial Freedom
Using python to generate audio files from youtubeA simple demonstrating how to use ffmpeg and ytp-dl to generate audio clips from youtube videos
Using PyInstaller to Create Standalone Executables in PythonIn this article, we will explore how to use PyInstaller to create standalone executables for your Python applications
Chapter 2 Basic syntax and data types.Describing how to use python to program.
Chapter 10 Introduction to data science in python.For my introductory book on python, data science.
Chapter 7 File handling and data processing.For my introductory book on python, I am going to explain how to handle files.
Chapter 8 File handling and data processing.For my introductory book on python, functional programming.
Chapter 8 File handling and data processing.For my introductory book on python, functional programming.
Yield Functions in PythonExplaining how to use yield functions in python.
Automating GUI Interactions with Python Using PyAutoGUIIn this article, we will explore various features of PyAutoGUI, including how to install the library, interact with the mouse and keyboard, and use screenshots to control your applications
Chapter 4 Control flow and functions.Describing how to use python to program.
Chapter 5 Object-oriented programming.Describing how to use python for object-oriented programming.
Chapter 5 Object-oriented programming.Describing how to use python for object-oriented programming.
Url Shortener in PythonDescribing how to build a basic URL shortener in Python
Using Fabric in Python A Step-by-Step GuideThis article will guide you through the process of installing and using Fabric in Python, with practical examples
Running Python Web Applications with GunicornIn this article, we will discuss the basics of Gunicorn, how to install and configure it, and how to use it to serve a Python web application
Using Redis in Python A Comprehensive GuideThis article will guide you through the process of using Redis in Python applications.
Using pandas and bs4 for web scrapping.Explaining how to use pandas and bs4 for web scrapping.
How I will describe how to make a qt app that edits a yaml file.Using qt in python, we can create a qt app to modify/save yaml files.
Building RESTful APIs with Flask-RESTful in Python By the end of this tutorial, you'll have a basic understanding of how to create, retrieve, update, and delete (CRUD) resources using this library.
Using chatgpt to write my posts instead of edge gpt.Comparing differences between chatgpt and edge gpt.
Python script to determine the size of objects in an imageTo build a Python script that detects objects from an input image and outputs the relative size of the objects to the input image, you can use the OpenCV library and the YOLOv3 object detection algorithm..
Calculate Income Tax with IPythonHow to calculate your income tax using IPytohn
Using chatgpt to write my posts instead of edge gpt.Comparing differences between chatgpt and edge gpt.Configuing a Subdomain for Google Compute Engine and Setting Up FastAPI with ApacheA comprehensive guide on how to point a subdomain to a Google Compute Engine instance and set up a FastAPI application using Apache as a reverse proxy. This tutorial includes steps from assigning a static IP to your instance, configuring DNS, and setting up SSL with Apache to serve FastAPI applications securely.
A Comprehensive Guide to Pytest in PythonIn this article, we will explore the basics of Pytest, its features, and best practices for writing effective test cases.
Here I will cover how to use chatgpt extract keywords and describe code.In this post I will show you how to use chatgpt to describe code and get keywords.Optimizing Web Scraping with Proxy Integration: Techniques and ToolsExplore how proxies can transform your web scraping projects by providing anonymity, overcoming geo-restrictions, and avoiding rate limits; includes a step-by-step guide on scraping proxies using Python.
Using Pillow in Python A Comprehensive GuideIn this article, we'll explore the capabilities of Pillow and demonstrate its usage with practical examples
Getting youtube videos of interest in pythonIn this post I will show you how to use the youtube api to get videos of interest in python.Getting Started with SOAP APIs Using Zeep in PythonAn introductory guide to interacting with SOAP APIs using Zeep, a modern Python SOAP client. Learn the basics of SOAP protocol, WSDL, and how to consume SOAP services in Python.
A Comprehensive Guide to Using Matplotlib in PythonIn this article, we will explore the fundamentals of Matplotlib, including installation, basic plots, customization, and advanced functionality
Leveraging Pytest Fixtures and Markers to Exclude Specific Test CasesThis technical article explores how to use pytest fixtures and markers to effectively manage and exclude specific test cases, particularly those requiring live server interaction, ensuring efficient testing and system integrity.
Utilizing `tempfile` for File Storage in Read-Only Environments: A Case Study with Azure Function AppsExplore how the Python `tempfile` module can be leveraged to work with file storage in read-only environments like Azure Function Apps. Learn to create and manage temporary files securely and efficiently, ensuring applications are scalable and compliant with serverless architecture constraints.
Web Scrapping Super Bowl WinnersWeb scrapping of the espn page for super bowl winnersHandling File Uploads with FastAPI, Django, and Flask: A Beginner's GuideA comprehensive guide for junior developers on implementing file upload features in FastAPI, Django, and Flask, focusing on ease of use and installation dependencies.
Integrating microsoft entra (active directory) with wagtailIn this article, we will explore how to integrate microsoft entra with wagtail
Web Scraping with Beautiful Soup in PythonIn this article, we will look at how to use Beautiful Soup for web scraping in Python
Introduction to jupyter notebooksExplaining jupyter notebooks and how to use them
Introduction to pythonExplaining the history of csharp and how it is used
How to download reports from the CSE exchange with pythonBy using the cad tickers library we can easily get links to docs from stocks.
Converting pdfs to pngs with imagemagickHow to convert from pdf to png by using python with imagemagick.
Using OpenCV in Python A Comprehensive GuideThis article will provide a comprehensive guide on how to use OpenCV in Python, covering installation, basic operations, image processing techniques, and more.
Using PyPDF2 in Python A Comprehensive GuideIn this article, we'll explore the PyPDF2 library, its features, and demonstrate its usage through practical examples
Using Django in Python A Comprehensive GuideIn this article, we will delve into the key concepts of Django and demonstrate how to create a simple web application using this powerful framework
Reading indeed posts to scrap job listings (does not work anymore)Scrapping indeed (2021) to get job listings.
Using PySerial in Python A Comprehensive GuideIn this article, we will explore the PySerial library and its various functions, as well as how to use it effectively in Python
Using SQLAlchemy in Python A Comprehensive GuideIn this article, we will explore SQLAlchemy, a powerful and versatile Object Relational Mapper (ORM) for Python that makes database interactions easy and efficient
Using Celery in Python A Comprehensive GuideIn this article, we will explore how to use Celery to improve the performance and reliability of your Python applications
Using chatgpt to generate blog postsAI powered tools can whittle down writing time and making writing blog posts simplier.
Getting started with APIs in Python by building a weather appDescribing how to build a weather app in Python
A Guide to Using Python-telegram-bot in PythonIn this article, we will walk through the process of setting up a bot, handling messages, and implementing custom commands
Creating custom subtitles using python and ffmpegHow to create custom subtitles using python and ffmpeg
Using PyJWT for JSON Web Token Authentication in PythonIn this article, we will discuss JSON Web Tokens (JWT) and how to use the PyJWT library to encode and decode JWTs in your Python applications
Managing Python Environments with AnacondaIn this article, we will explore how to use Anaconda to create isolated Python environments, manage packages, and streamline your workflow
Using Jupyter Notebook in Python An Interactive Computing EnvironmentIn this article, we'll explore the features of Jupyter Notebook and how to use it in your Python projects
An Introduction to Pygame Zero Building Your First Game in PythonIn this article, we will explore the basics of Pygame Zero and guide you through the process of creating a simple game
Mastering NumPy A Comprehensive Guide to Efficient Numerical Computing in PythonThis article will provide a comprehensive introduction to NumPy and its capabilities.
How to use argparse with pythonParsing git commits with golang
Tortoise TTS: A Multi-Voice Text-to-Speech SystemText-to-speech (TTS) is a technology that converts text into natural-sounding speech using natural language processing (NLP) and speech synthesis techniques.
How to Create a Password Generator in PythonCreating a password generator is a useful programming exercise that can teach you about random number generation, string manipulation, and graphical user interface (GUI) design. In this article, we'll go through the steps to create a password generator in Python and then show you how to create a simple GUI using the tkinter library.
Automated Data Extraction from Online Retail Flyers Using Python and SeleniumThis article explores the `flipp_flyer_parser` Python script, an advanced web scraping tool for extracting promotional data from retail websites like Save-On-Foods, Walmart, and Superstore.
How to find the status of youtube livestream with web scrapping in pythonBy leveraging a web browser we can extract the livestream status from a upcoming video from a youtube channel.
Getting started in opencv with pythonComputer vision is the field of artificial intelligence that focuses on teaching computers to identify and process images in the same way that humans do. Computer vision algorithms allow machines to identify objects, scenes, faces, text, and more in digital images and videos.
Simple deta micro to show my deta drive filesLeveraging fastapi to show stock report files
Thoughts on dash v2.5.0After updating a project to dash v2.5.0
What I did when open source library changed to semi open sourceHere I explain what my actions when an open source library got taken down from github.
© 2026 David Li · Home · Blog · RSS ·Classic site · Built with Astro, Starlight and three.js