Tagged articles
5000 articles
Page 34 of 50
Model Perspective
Model Perspective
Jun 16, 2022 · Fundamentals

Solve the Village Water Pipe Layout with NetworkX Minimum Spanning Tree

This guide demonstrates how to model a ten‑village water‑pipe network as a weighted graph, import the distance matrix into pandas, construct the graph with NetworkX, compute its minimum spanning tree to obtain the shortest connecting pipeline, and visualize the result.

Data visualizationGraph AlgorithmPython
0 likes · 9 min read
Solve the Village Water Pipe Layout with NetworkX Minimum Spanning Tree
GuanYuan Data Tech Team
GuanYuan Data Tech Team
Jun 16, 2022 · Artificial Intelligence

How Deepchecks Automates Data and Model Validation for Reliable AI Pipelines

This article introduces the open‑source Deepchecks library, explains its core concepts of checks, conditions, and suites, and provides step‑by‑step tutorials for data validation, train‑test validation, and model evaluation to help AI engineers build robust, data‑centric machine‑learning workflows.

Pythondata validationdeepchecks
0 likes · 15 min read
How Deepchecks Automates Data and Model Validation for Reliable AI Pipelines
Python Programming Learning Circle
Python Programming Learning Circle
Jun 16, 2022 · Backend Development

Python Script to Keep Campus Network Connection Alive

This article explains how to use a Python script that continuously pings an external address and automatically logs into a campus web authentication portal via HTTP POST when the connection drops, ensuring the computer stays online for remote access, and provides the full source code and setup instructions.

Base64Campus WiFiHTTP POST
0 likes · 4 min read
Python Script to Keep Campus Network Connection Alive
Python Programming Learning Circle
Python Programming Learning Circle
Jun 16, 2022 · Fundamentals

Generating PDF Reports with Python ReportLab: Installation, Imports, and Example Code

This tutorial demonstrates how to use Python's ReportLab library to create PDF reports, covering installation, module imports, font registration, and a Graphs class with static methods for titles, paragraphs, tables, bar charts, and images, culminating in a complete script that assembles and builds the PDF.

Data visualizationPythonReportLab
0 likes · 9 min read
Generating PDF Reports with Python ReportLab: Installation, Imports, and Example Code
Python Programming Learning Circle
Python Programming Learning Circle
Jun 15, 2022 · Fundamentals

14 Basic Python Exercises with Solutions

The article presents fourteen basic Python programming exercises—including grade classification, a basketball safety algorithm, series summation, shopping‑card combinations, a number‑guessing game, string handling, a recursive duck‑count problem, complex‑number extraction, expression evaluation, number formatting, and others—each accompanied by complete code examples and sample outputs.

Pythoncodeexercises
0 likes · 17 min read
14 Basic Python Exercises with Solutions
Model Perspective
Model Perspective
Jun 14, 2022 · Operations

Optimizing Relay Team Selection with PuLP: A Step‑by‑Step Guide

Learn how to model and solve a relay‑team selection problem using Python’s PuLP library, defining decision variables, parameters, objective function, and constraints, then executing the solver to obtain the optimal swimmer‑stroke assignments and total time.

Linear ProgrammingPuLPPython
0 likes · 11 min read
Optimizing Relay Team Selection with PuLP: A Step‑by‑Step Guide
FunTester
FunTester
Jun 12, 2022 · Backend Development

My Journey Learning Automation Testing with Python: From Selenium Recording to a UnitTest Framework

The author recounts their progression from beginner Selenium script recording to mastering WebDriver element location and a UnitTest‑based automation framework, highlighting challenges like script failures, code redundancy, and real‑world problem solving, and emphasizes continuous learning for effective Python automation testing.

PythonSeleniumWebDriver
0 likes · 6 min read
My Journey Learning Automation Testing with Python: From Selenium Recording to a UnitTest Framework
Python Programming Learning Circle
Python Programming Learning Circle
Jun 10, 2022 · Artificial Intelligence

A Comprehensive Overview of Popular Python Libraries for Artificial Intelligence and Data Science

This article introduces a wide range of Python libraries commonly used in artificial intelligence, computer vision, and data analysis, providing brief descriptions, performance comparisons such as NumPy versus pure Python, and concise code examples for each library to help readers quickly grasp their core functionalities.

AI librariesPython
0 likes · 21 min read
A Comprehensive Overview of Popular Python Libraries for Artificial Intelligence and Data Science
Model Perspective
Model Perspective
Jun 9, 2022 · Fundamentals

How to Model Water Flow in a Hemisphere Using Differential Equations

This article explains the three-step process for constructing differential-equation models, introduces the micro-element analysis method, and demonstrates its application to a hemispherical water-outflow problem, including derivation of the governing equation, solution via separation of variables, and a Python implementation using SymPy.

ModelingPythondifferential equations
0 likes · 5 min read
How to Model Water Flow in a Hemisphere Using Differential Equations
Model Perspective
Model Perspective
Jun 9, 2022 · Fundamentals

How to Model Cooling with Differential Equations: Step-by-Step Guide

This article outlines a three‑step process for constructing differential‑equation models, demonstrates it with a Newton cooling problem, derives the governing equation, solves it analytically and numerically using Python’s sympy, and predicts the object’s temperature after 20 minutes.

Newton coolingPythondifferential equations
0 likes · 4 min read
How to Model Cooling with Differential Equations: Step-by-Step Guide
Python Programming Learning Circle
Python Programming Learning Circle
Jun 9, 2022 · Artificial Intelligence

Python Nude Image Detection Using Pillow: Algorithm, Implementation, and Visualization

This tutorial explains how to build a Python program that detects nude images by analyzing skin-colored regions with Pillow, covering project setup, image preprocessing, pixel classification using RGB/HSV/YCrCb formulas, region merging, decision rules, and command‑line usage with optional visualization.

Computer VisionImage ProcessingNude Detection
0 likes · 23 min read
Python Nude Image Detection Using Pillow: Algorithm, Implementation, and Visualization
Laravel Tech Community
Laravel Tech Community
Jun 8, 2022 · Fundamentals

Comprehensive Programming and IT Knowledge Quiz with Multiple‑Choice and Coding Questions

This timed programmer quiz combines single‑choice, short‑answer, and coding problems that test a broad spectrum of IT topics—from programming history and algorithms to Linux commands, networking layers, Helm chart concepts, and practical Python and C coding tasks—providing a holistic assessment of technical fundamentals.

PythonQuizalgorithm
0 likes · 9 min read
Comprehensive Programming and IT Knowledge Quiz with Multiple‑Choice and Coding Questions
Python Programming Learning Circle
Python Programming Learning Circle
Jun 8, 2022 · Artificial Intelligence

Leveraging PaddleNLP UIE for Zero‑Shot Logistic Parcel Information Extraction

This article explains how PaddleNLP's Universal Information Extraction (UIE) model can dramatically reduce labeling effort and improve accuracy for logistics parcel data extraction, showcasing a five‑sample experiment that boosts F1 by 18 points to 93% and providing a zero‑shot Python example.

Information ExtractionLogisticsNLP
0 likes · 5 min read
Leveraging PaddleNLP UIE for Zero‑Shot Logistic Parcel Information Extraction
Python Programming Learning Circle
Python Programming Learning Circle
Jun 7, 2022 · Fundamentals

Curated List of Popular Python Learning Resources and Tools

This article compiles a comprehensive, curated collection of popular Python resources—including frameworks, libraries, applications, books, tutorials, interview questions, data‑structure and algorithm guides, and learning tools—suitable for developers at any skill level seeking to deepen their Python knowledge.

PythonResourcesinterview
0 likes · 10 min read
Curated List of Popular Python Learning Resources and Tools
Python Crawling & Data Mining
Python Crawling & Data Mining
Jun 7, 2022 · Fundamentals

Compute Cumulative Sums and Build Stacked Charts with Pandas

This tutorial demonstrates how to generate random product usage data, compute per‑product usage‑duration percentages with pandas, calculate cumulative sums, and create a horizontal stacked bar chart using Matplotlib, offering multiple pandas techniques such as groupby‑value_counts, unstack, and crosstab for clear visual analysis.

Pythoncumulative sumdata analysis
0 likes · 8 min read
Compute Cumulative Sums and Build Stacked Charts with Pandas
Python Crawling & Data Mining
Python Crawling & Data Mining
Jun 7, 2022 · Fundamentals

Master pandas merge: Combine Multiple DataFrames Like a Pro

This tutorial explains how to horizontally merge three pandas DataFrames on column A using concat, join, and merge, demonstrates handling missing values, shows iterative merging with itertools.accumulate, and provides practical code snippets for flexible data‑frame combination.

Pythondata-manipulationdataframe
0 likes · 7 min read
Master pandas merge: Combine Multiple DataFrames Like a Pro
Model Perspective
Model Perspective
Jun 5, 2022 · Fundamentals

How to Solve ODEs Numerically in Python with SciPy’s odeint

This article explains how to obtain numerical solutions for ordinary differential equations in Python using SciPy’s odeint function, demonstrates several example problems including a simple ODE, a system converted from a second‑order equation, and the chaotic Lorenz model, and provides complete code snippets.

Lorenz AttractorNumerical MethodsODE
0 likes · 6 min read
How to Solve ODEs Numerically in Python with SciPy’s odeint
Python Programming Learning Circle
Python Programming Learning Circle
Jun 5, 2022 · Fundamentals

Pandas Data Manipulation: Sorting, Selecting, Grouping, and Reshaping

This article provides a visual guide to using Pandas for data manipulation, covering sorting with sort_values, column selection, grouping with groupby and various aggregations, filtering rows and columns, dropping, joining, merging, pivot tables, melting, stacking, unstacking, and index operations, illustrated with code snippets and screenshots.

Pythondata analysisdata manipulation
0 likes · 5 min read
Pandas Data Manipulation: Sorting, Selecting, Grouping, and Reshaping
Model Perspective
Model Perspective
Jun 3, 2022 · Fundamentals

Master Matplotlib: Plot Lines, Scatter, Bars, Histograms, Pie & Box Plots

This tutorial demonstrates how to install and import Matplotlib, then provides detailed Python code examples for creating common chart types—including line, scatter, bars, histograms, pie & box plots—using NumPy data, with explanations of key parameters and visual customization options.

MatplotlibNumPyPython
0 likes · 10 min read
Master Matplotlib: Plot Lines, Scatter, Bars, Histograms, Pie & Box Plots
21CTO
21CTO
Jun 1, 2022 · Fundamentals

How Python 3.11 Boosts Speed by Up to 60% – The Secrets Behind Faster CPython

Python 3.11, slated for release in October 2022, delivers a 10‑60% performance boost over 3.10 thanks to the Microsoft‑backed Faster CPython project, which introduces adaptive specialization, memory‑allocator refinements, and several low‑level optimizations that trade a modest memory increase for faster execution.

CPythonInterpreter OptimizationMemory Management
0 likes · 5 min read
How Python 3.11 Boosts Speed by Up to 60% – The Secrets Behind Faster CPython
Python Programming Learning Circle
Python Programming Learning Circle
May 31, 2022 · Fundamentals

Python Type Conversion: Implicit and Explicit Casting with Examples

This article explains Python's type conversion mechanisms, distinguishing implicit automatic casting from explicit conversion using functions like int(), float(), and str(), and provides multiple code examples demonstrating how different data types interact, the resulting outputs, and common errors such as TypeError.

Data TypesExplicit CastingImplicit Casting
0 likes · 5 min read
Python Type Conversion: Implicit and Explicit Casting with Examples
Big Data Technology Architecture
Big Data Technology Architecture
May 31, 2022 · Big Data

Comprehensive Guide to Installing and Using Apache Airflow with Docker on Windows

This article provides a detailed tutorial on Apache Airflow fundamentals, Docker-based installation on Windows, Dockerfile creation, container deployment via Docker run and Docker Compose, Airflow configuration, and practical usage of DAGs, tasks, connections, and UI features for data pipeline orchestration.

Apache AirflowDockerDocker Compose
0 likes · 14 min read
Comprehensive Guide to Installing and Using Apache Airflow with Docker on Windows
Python Programming Learning Circle
Python Programming Learning Circle
May 29, 2022 · Artificial Intelligence

Generating Anime‑Style Avatars with Alibaba Cloud Vision AI Using Python

This tutorial explains how to create unique, anime‑style avatars from personal photos by leveraging Alibaba Cloud's Vision AI service, covering account setup, AccessKey creation, required SDK installations, Python code for configuring the client, sending requests, and retrieving the generated image URLs.

AI AvatarAlibaba CloudAnime Style
0 likes · 5 min read
Generating Anime‑Style Avatars with Alibaba Cloud Vision AI Using Python
FunTester
FunTester
May 29, 2022 · Fundamentals

How to Download and Visualize Kweichow Moutai Stock Data with Python

This guide shows how to download historical Kweichow Moutai stock data from NetEase Finance as a CSV file, handle encoding issues, and use Python's pandas and matplotlib libraries to filter the data and create both volume and OHLC line charts for a selected month.

CSVData visualizationMatplotlib
0 likes · 6 min read
How to Download and Visualize Kweichow Moutai Stock Data with Python
Model Perspective
Model Perspective
May 28, 2022 · Fundamentals

Master Python Control Flow: If, Loops, and List Comprehensions Explained

Learn Python's fundamental control flow constructs—including if, if‑else, elif‑else, for and while loops, continue, break, range, and list comprehensions—through clear explanations and interactive code examples that demonstrate condition evaluation, iteration, and common patterns for managing program logic.

Control FlowLoopsPython
0 likes · 7 min read
Master Python Control Flow: If, Loops, and List Comprehensions Explained
Model Perspective
Model Perspective
May 28, 2022 · Fundamentals

Master Python Built-in Functions and Custom Function Basics

This article introduces Python's built-in functions such as type, len, sum, round, and sorted, explains data type conversion utilities, demonstrates numeric conversions, and provides a step‑by‑step guide to defining and using custom functions with default arguments.

Custom FunctionsPythonbuilt-in functions
0 likes · 5 min read
Master Python Built-in Functions and Custom Function Basics
Python Programming Learning Circle
Python Programming Learning Circle
May 28, 2022 · Information Security

Bypassing HCaptcha Using YesCaptcha Service with Python

This article explains how to bypass HCaptcha verification by leveraging the YesCaptcha service, detailing the required API parameters, Python code for extracting captcha images via Selenium, converting them to Base64, creating a solving task, and handling the solution to automate the verification process.

Captcha BypassHCaptchaPython
0 likes · 7 min read
Bypassing HCaptcha Using YesCaptcha Service with Python
Code DAO
Code DAO
May 28, 2022 · Artificial Intelligence

How to Build an Image Duplicate Detection System

This article explains how to construct an image duplicate and near‑duplicate detection system, compares five similarity methods (Euclidean distance, SSIM, image hashing, cosine similarity, and CNN‑based feature similarity), provides Python implementations, evaluates them on two datasets, and discusses speed, accuracy, and robustness results.

CNNEfficientNetPython
0 likes · 18 min read
How to Build an Image Duplicate Detection System
SQB Blog
SQB Blog
May 28, 2022 · Backend Development

Scaling Automated API Testing for Millions of Microservices

This article outlines the background, testing strategy, and practical implementation of automated API testing within a large-scale microservice environment, detailing the shift from traditional test pyramids to a honeycomb model, technology choices, test case design, mock servers, platform management, and measures to prevent test suite decay.

API testingAutomated TestingPython
0 likes · 18 min read
Scaling Automated API Testing for Millions of Microservices
Code DAO
Code DAO
May 27, 2022 · Artificial Intelligence

Building an Image Classification Model with CNNs

This article explains how to train a convolutional neural network on a remote GPU for image classification, covering convolution, padding, activation, pooling, dropout, flattening, fully‑connected layers, dataset preparation, model definition, training, and prediction using TensorFlow/Keras.

CNNFood-101GPU training
0 likes · 13 min read
Building an Image Classification Model with CNNs
21CTO
21CTO
May 26, 2022 · Information Security

How a Malicious PyPI Package Stole Secrets and What It Means for PyPI Security

Recent investigations reveal that the malicious PyPI package “ctx” harvested environment variables, encoded them in base64, and sent them to a Heroku endpoint, while attackers also hijacked the package’s maintainer account via domain takeover, highlighting serious vulnerabilities in PyPI’s package and account security processes.

Domain HijackingPyPIPython
0 likes · 5 min read
How a Malicious PyPI Package Stole Secrets and What It Means for PyPI Security
Python Programming Learning Circle
Python Programming Learning Circle
May 24, 2022 · Fundamentals

Creating ASCII Art from Images with Python and Pillow

This tutorial demonstrates how to transform a picture into ASCII art using roughly 50 lines of Python code with the Pillow library, covering image scaling, grayscale conversion, character mapping, and saving the result as a text file while noting environment-specific display considerations.

ASCII artPython
0 likes · 6 min read
Creating ASCII Art from Images with Python and Pillow
Python Programming Learning Circle
Python Programming Learning Circle
May 23, 2022 · Backend Development

Simulating Zhihu Login with Python Using urllib and Fiddler

This article demonstrates how to automate Zhihu login on Windows by analyzing network traffic with Fiddler, extracting required parameters, and implementing a Python script that builds HTTP requests using urllib2, handles cookies, captcha retrieval, and logs the results, complete with sample code and execution screenshots.

FiddlerHTTPLogin Automation
0 likes · 8 min read
Simulating Zhihu Login with Python Using urllib and Fiddler
Python Programming Learning Circle
Python Programming Learning Circle
May 23, 2022 · Fundamentals

Python Project Practice Series: Instant Tagging, PDF Generation, XML Site Builder, and News Aggregator

This article introduces Python's readability and popularity, then walks through four practical projects—an instant‑tagging tool, a PDF creator using urllib and reportlab, an XML‑driven website generator, and a news‑aggregation utility—explaining their architecture, key modules, and code snippets.

Code TutorialPythonXML
0 likes · 10 min read
Python Project Practice Series: Instant Tagging, PDF Generation, XML Site Builder, and News Aggregator
Python Programming Learning Circle
Python Programming Learning Circle
May 20, 2022 · Fundamentals

Introduction to Functional Programming in Python

This article introduces Python's functional programming features, covering first‑class functions, callable objects, storing functions in data structures, higher‑order functions, nested functions, lambda expressions, and the use of map, filter, and reduce with clear code examples.

First-Class FunctionsHigher-Order FunctionsLambda
0 likes · 9 min read
Introduction to Functional Programming in Python
Model Perspective
Model Perspective
May 19, 2022 · Operations

How to Optimize Fire Station Placement Using Facility Location Models

This article introduces the facility location problem, outlines its key concepts, elements, and objective functions, and demonstrates a practical fire‑station placement case study solved with the Python Pulp library to minimize the number of stations while ensuring response times under 15 minutes.

Operations ResearchPythonfacility location
0 likes · 7 min read
How to Optimize Fire Station Placement Using Facility Location Models
DataFunTalk
DataFunTalk
May 19, 2022 · Artificial Intelligence

Open‑Domain Information Extraction with UIE: Code Samples, Model Details, and Performance Highlights

This article introduces PaddleNLP's UIE tool for open‑domain information extraction, explains its underlying UIE model and ERNIE 3.0 foundation, showcases concise Python code for entity and event extraction, and presents few‑shot and SOTA performance results across multiple IE benchmarks.

Information ExtractionPaddleNLPPython
0 likes · 11 min read
Open‑Domain Information Extraction with UIE: Code Samples, Model Details, and Performance Highlights
Python Programming Learning Circle
Python Programming Learning Circle
May 18, 2022 · Backend Development

Microsoft Splits VS Code Python Extension into Black, isort, and Jupyter Powertoys Extensions

Microsoft has recently divided its VS Code Python extension, releasing three independent extensions—Black for code formatting, isort for import sorting, and Jupyter Powertoys for experimental notebook features—each offering LSP‑based support, version checks, and marketplace installation for Python developers.

BlackExtensionJupyter
0 likes · 5 min read
Microsoft Splits VS Code Python Extension into Black, isort, and Jupyter Powertoys Extensions
Python Programming Learning Circle
Python Programming Learning Circle
May 17, 2022 · Fundamentals

Python Basics: Indexing, Slicing, String Alignment, List Comprehensions, Variable Arguments, and NumPy Linear Algebra

This article introduces essential Python techniques—including list indexing and slicing, string alignment methods, list and dictionary comprehensions, handling variable-length arguments, and using NumPy for linear‑algebra operations—providing clear code examples and explanations for each concept.

NumPyPythonSlicing
0 likes · 8 min read
Python Basics: Indexing, Slicing, String Alignment, List Comprehensions, Variable Arguments, and NumPy Linear Algebra
Code DAO
Code DAO
May 17, 2022 · Fundamentals

Eight Python Libraries for Mesh, Point Cloud, and Data Visualization – Part 1

This article introduces eight Python libraries—Open3D, Trimesh, PyVista, Vedo, Pyrender, PlotOptiX, Polyscope, and Simple‑3dviz—detailing their installation, core APIs, and step‑by‑step code examples for visualizing meshes, point clouds, and multidimensional data.

3d-visualizationPythonmesh
0 likes · 41 min read
Eight Python Libraries for Mesh, Point Cloud, and Data Visualization – Part 1
Code DAO
Code DAO
May 16, 2022 · Artificial Intelligence

How to Build a Simple Neural Network from Scratch with NumPy

This article walks through implementing a basic multi‑layer neural network using only NumPy, covering terminology, network architecture, forward and backward propagation, activation functions, loss calculation, parameter updates with SGD, and compares the custom model with a Keras implementation.

BackpropagationNeural NetworkNumPy
0 likes · 17 min read
How to Build a Simple Neural Network from Scratch with NumPy
MaGe Linux Operations
MaGe Linux Operations
May 15, 2022 · Backend Development

Top 37 Python Web Frameworks: Features, Pros & Cons Explained

After two weeks of research, this guide presents a ranked list of 37 Python web frameworks—detailing their official sites, strengths, weaknesses, and visual overviews—to help developers choose the most supported and suitable framework for their projects.

DjangoFastAPIFlask
0 likes · 27 min read
Top 37 Python Web Frameworks: Features, Pros & Cons Explained
Programmer DD
Programmer DD
May 15, 2022 · Backend Development

How to Automate Gym Reservations with Selenium: A Google Engineer’s Design Doc

This article explains how a Google engineer designed and implemented an automated system using Python and Selenium to book gym slots two days in advance, detailing problem definition, requirements, architecture, code snippets, and operational workflow for reliable, headless execution on macOS.

PythonSchedulingSelenium
0 likes · 11 min read
How to Automate Gym Reservations with Selenium: A Google Engineer’s Design Doc
MaGe Linux Operations
MaGe Linux Operations
May 12, 2022 · Backend Development

7 Fun Python Projects You Can Build in Minutes

This article shares seven practical Python scripts—ranging from a 30‑line Zhihu image scraper and chatbot conversation loop to poetry author classification, lottery number generation, automatic apology letter creation, screen‑capture automation, and GIF assembly—demonstrating how to avoid reinventing the wheel while learning useful automation techniques.

ChatbotLottery GeneratorPoetry Classification
0 likes · 8 min read
7 Fun Python Projects You Can Build in Minutes
Python Programming Learning Circle
Python Programming Learning Circle
May 12, 2022 · Frontend Development

Introducing PyScript: Run Python Directly in the Browser

PyScript, a new framework from Anaconda, enables developers to embed and run Python code directly in standard HTML pages, offering first‑class Python support in the browser, seamless integration with JavaScript, package management, and UI components, all built on the Pyodide WebAssembly engine.

PyScriptPythonWebAssembly
0 likes · 4 min read
Introducing PyScript: Run Python Directly in the Browser
MaGe Linux Operations
MaGe Linux Operations
May 11, 2022 · Fundamentals

10 Essential pip Tricks Every Python Developer Should Know

This guide presents ten practical pip tips for Python developers, covering installation, upgrades, package installation, batch requirements, uninstallation, dependency freezing, information lookup, upgrade checks, compatibility verification, and local downloading, each illustrated with clear commands and examples.

PythonTutorialpackage management
0 likes · 10 min read
10 Essential pip Tricks Every Python Developer Should Know
Python Programming Learning Circle
Python Programming Learning Circle
May 11, 2022 · Frontend Development

Comprehensive Guide to Configuring Chrome DevTools for Python Web Scraping

This article provides a detailed walkthrough of Chrome DevTools configuration and usage—including global settings, shortcuts, element inspection, network throttling, and code extraction—to help Python developers efficiently collect web data, with step‑by‑step instructions, screenshots, and code snippets.

Chrome DevToolsPythonWeb Scraping
0 likes · 9 min read
Comprehensive Guide to Configuring Chrome DevTools for Python Web Scraping
Architecture Digest
Architecture Digest
May 6, 2022 · Fundamentals

Understanding Port Listening with Python Socket Examples

This article uses a conversational story to explain what it means to listen on a network port, covering TCP vs UDP, binding to specific IPs, reuse‑port options, IPv4 and IPv6 differences, and demonstrates the concepts with multiple Python socket code snippets.

IPv4IPv6Python
0 likes · 13 min read
Understanding Port Listening with Python Socket Examples
MaGe Linux Operations
MaGe Linux Operations
May 5, 2022 · Fundamentals

Master Python’s with Statement: Simplify Resource Management

This article explains the purpose and mechanics of Python's with statement, showing how it leverages context managers to replace verbose try‑finally blocks, and demonstrates both class‑based and decorator‑based implementations with clear code examples.

Code ExampleDecoratorPython
0 likes · 6 min read
Master Python’s with Statement: Simplify Resource Management