Tagged articles
5000 articles
Page 24 of 50
Open Source Tech Hub
Open Source Tech Hub
Jan 26, 2024 · Fundamentals

How Smaz2 Compresses LoRa Messages on Tiny Devices

This article explains the motivation, dictionary design, bigram table, encoding rules, and real‑world compression results of the Smaz2 library, a space‑optimized C/Python compressor for short LoRa messages on microcontrollers with less than 2 KB RAM.

C++LoRAPython
0 likes · 8 min read
How Smaz2 Compresses LoRa Messages on Tiny Devices
Test Development Learning Exchange
Test Development Learning Exchange
Jan 26, 2024 · Artificial Intelligence

Data Mining Techniques for Marketing: Customer Segmentation, Purchase Prediction, Recommendation, and More with Python

This article introduces ten data‑mining applications for marketing—including customer segmentation, purchase forecasting, market‑basket analysis, churn prediction, sentiment analysis, response modeling, recommendation systems, brand reputation, competitive analysis, and public‑opinion monitoring—each illustrated with concise Python code examples.

Customer SegmentationMarketing AnalyticsPrediction
0 likes · 11 min read
Data Mining Techniques for Marketing: Customer Segmentation, Purchase Prediction, Recommendation, and More with Python
Python Programming Learning Circle
Python Programming Learning Circle
Jan 25, 2024 · Fundamentals

Python Memory Optimization Techniques: __slots__, Generators, mmap, Data Types, and String Interning

This article explains practical Python memory‑saving methods—including inspecting memory usage, using __slots__, generators, memory‑mapped files, choosing efficient data structures, and string interning—providing code examples and performance comparisons to help developers write more memory‑efficient programs.

Data StructuresMemory OptimizationPython
0 likes · 11 min read
Python Memory Optimization Techniques: __slots__, Generators, mmap, Data Types, and String Interning
Python Programming Learning Circle
Python Programming Learning Circle
Jan 24, 2024 · Backend Development

Running Scrapy Crawlers: Command‑Line, CrawlerProcess, and CrawlerRunner Approaches

This tutorial demonstrates how to execute Scrapy spiders from the command line, run them within Python files using cmdline, and manage single or multiple spiders with CrawlerProcess and CrawlerRunner, highlighting configuration steps, limitations, and best‑practice recommendations.

Backend DevelopmentCrawlerProcessCrawlerRunner
0 likes · 3 min read
Running Scrapy Crawlers: Command‑Line, CrawlerProcess, and CrawlerRunner Approaches
Test Development Learning Exchange
Test Development Learning Exchange
Jan 23, 2024 · Fundamentals

Common Data Preprocessing Techniques with Python Code Examples

This article presents ten essential data preprocessing methods—including handling missing values, type conversion, standardization, encoding, smoothing, outlier treatment, text cleaning, word frequency counting, sentiment analysis, and topic modeling—each explained with clear Python code snippets.

Data cleaningPythondata preprocessing
0 likes · 9 min read
Common Data Preprocessing Techniques with Python Code Examples
Python Programming Learning Circle
Python Programming Learning Circle
Jan 23, 2024 · Fundamentals

Python Essentials: 60 Frequently Used Built-in Functions and Techniques

This article presents a comprehensive collection of 60 frequently used Python built-in functions and techniques, covering numeric operations, string handling, data structures, function definitions, class utilities, and useful tools, each illustrated with clear code examples and explanations for practical programming.

Data StructuresProgramming BasicsPython
0 likes · 22 min read
Python Essentials: 60 Frequently Used Built-in Functions and Techniques
Python Programming Learning Circle
Python Programming Learning Circle
Jan 23, 2024 · Backend Development

Comprehensive Guide to Python Libraries for Web Crawling, Web Development, and Asynchronous Programming

This article provides an extensive overview of Python libraries and frameworks for web crawling, data extraction, asynchronous networking, browser automation, and popular web development frameworks, helping developers choose the right tools for backend projects and avoid common misconceptions when selecting a framework.

PythonWeb CrawlingWeb Frameworks
0 likes · 9 min read
Comprehensive Guide to Python Libraries for Web Crawling, Web Development, and Asynchronous Programming
Test Development Learning Exchange
Test Development Learning Exchange
Jan 22, 2024 · Fundamentals

10 Essential Python Debugging Tools and Techniques Every Developer Should Know

This article introduces ten practical Python debugging tools and techniques—including breakpoints, print statements, logging, assertions, pdb, traceback, cProfile, timeit, memory_profiler, and pdbpp—providing code examples and explanations to help developers diagnose, trace, and optimize their code effectively.

DebuggingLoggingProfiling
0 likes · 5 min read
10 Essential Python Debugging Tools and Techniques Every Developer Should Know
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 22, 2024 · Artificial Intelligence

Prompt Engineering and CAMEL: Role‑Playing AI Agents for Automated Prompt Generation

This article explains how Prompt Engineering combined with the CAMEL framework enables role‑playing AI agents to automatically generate and manage prompts, illustrates the concept with a stock‑trading example, and provides Python code using LangChain to build a marketing‑automation agent for a small business.

AI agentsCAMELInception Prompting
0 likes · 11 min read
Prompt Engineering and CAMEL: Role‑Playing AI Agents for Automated Prompt Generation
Test Development Learning Exchange
Test Development Learning Exchange
Jan 21, 2024 · Fundamentals

How to Extract MP3 Files from a PDF Using Python

This guide explains step‑by‑step how to install required Python libraries, extract text and images from a PDF, perform OCR on the images, locate embedded MP3 data in the combined text, and save the audio file, providing complete sample code for each stage.

MP3 extractionOCRPython
0 likes · 4 min read
How to Extract MP3 Files from a PDF Using Python
Test Development Learning Exchange
Test Development Learning Exchange
Jan 20, 2024 · Big Data

Practical Data Analysis Code Samples for Business Decision Making

This article presents ten practical Python code examples that demonstrate common data analysis techniques—such as handling missing values, sorting, pivot tables, visualization, association rules, outlier detection, time‑series forecasting, clustering, feature selection, and cross‑validation—to help improve business decision effectiveness.

Big DataBusiness IntelligencePython
0 likes · 4 min read
Practical Data Analysis Code Samples for Business Decision Making
Open Source Tech Hub
Open Source Tech Hub
Jan 20, 2024 · Artificial Intelligence

How to Set Up ModelScope with Anaconda and Run OCR Inference via PHP

This guide walks through installing Anaconda, creating a Python 3.10 conda environment, adding PyTorch and ModelScope libraries, installing domain-specific dependencies, verifying NLP pipelines, and using PHPY to call ModelScope's OCR model from PHP, complete with code snippets and troubleshooting tips.

AI inferenceAnacondaModelScope
0 likes · 10 min read
How to Set Up ModelScope with Anaconda and Run OCR Inference via PHP
AntTech
AntTech
Jan 19, 2024 · Backend Development

Fury: A High‑Performance Multi‑Language Serialization Framework and Its Path to the Apache Incubator

Fury is a JIT‑compiled, zero‑copy, multi‑language serialization framework that delivers up to 170× speed improvements over traditional serializers, supports Java, Python, C++, Go, JavaScript, Scala and Rust, and has recently been donated to the Apache Software Foundation after a successful open‑source journey.

ApacheCross-languageFury
0 likes · 17 min read
Fury: A High‑Performance Multi‑Language Serialization Framework and Its Path to the Apache Incubator
Python Programming Learning Circle
Python Programming Learning Circle
Jan 18, 2024 · Fundamentals

Python Quirks and Tricky Behaviors: 10 Quiz Questions with Explanations

This article presents ten Python quiz questions that reveal surprising language behaviors—such as banker's rounding, attribute lookup order, handling of -0.0, lazy evaluation of all/any, negative string multiplication, object‑type relationships, sum() defaults, name binding in functions, handling of NaN/Infinity, and floating‑point precision limits—along with detailed explanations for each.

PythonQuizprogramming
0 likes · 8 min read
Python Quirks and Tricky Behaviors: 10 Quiz Questions with Explanations
MaGe Linux Operations
MaGe Linux Operations
Jan 17, 2024 · Fundamentals

Master Python’s Built‑In Functions: From range to zip

This article introduces Python’s most useful built‑in functions—including range, mathematical utilities, base‑conversion, string methods, and iterable helpers—explaining their parameters, showing practical examples, and demonstrating how they simplify common programming tasks.

Pythonbuilt-in functionsfundamentals
0 likes · 9 min read
Master Python’s Built‑In Functions: From range to zip
Python Programming Learning Circle
Python Programming Learning Circle
Jan 17, 2024 · Fundamentals

Eight Practical Python CLI -m Tricks Without Writing Code

This article demonstrates eight useful Python command‑line one‑liners that leverage the built‑in -m option to perform tasks such as port testing, launching a web server, formatting JSON, creating a simple editor, building executable packages, encoding/decoding data, retrieving system metadata, and compressing files, all without writing any source code.

CLIPythonZipapp
0 likes · 11 min read
Eight Practical Python CLI -m Tricks Without Writing Code
Test Development Learning Exchange
Test Development Learning Exchange
Jan 16, 2024 · Artificial Intelligence

Python Code Samples for Data Scraping and Analysis Across Various Business Scenarios

This article presents a collection of Python code examples demonstrating how to scrape, process, visualize, and analyze data from news sites, social media, stock markets, e‑commerce, web traffic, text, images, and more, covering tasks such as clustering, time‑series forecasting, and sentiment analysis.

Data AnalysisPythonWeb Scraping
0 likes · 12 min read
Python Code Samples for Data Scraping and Analysis Across Various Business Scenarios

Big Data Testing: Methods, Tool Selection, and Practical Implementation with Datacompy

This article introduces big data testing concepts, outlines common testing methods, evaluates the Python library Datacompy against alternatives, and details a practical implementation for large-scale data migration and validation, including configuration, volume comparison, content verification, and performance optimizations such as sorting and multithreading.

Data MigrationData TestingPython
0 likes · 10 min read
Big Data Testing: Methods, Tool Selection, and Practical Implementation with Datacompy
Python Programming Learning Circle
Python Programming Learning Circle
Jan 16, 2024 · Fundamentals

Interactive DataFrame Visualization in Jupyter Notebook with Pivottablejs, PyGWalker, Qgrid, and Itables

This article introduces four Python packages—Pivottablejs, PyGWalker, Qgrid, and Itables—that transform Pandas DataFrames into interactive tables and visualizations within Jupyter Notebook, providing code examples, usage tips, and comparisons to help users choose the right tool for data exploration.

Interactive TablesJupyter NotebookPyGWalker
0 likes · 4 min read
Interactive DataFrame Visualization in Jupyter Notebook with Pivottablejs, PyGWalker, Qgrid, and Itables
Test Development Learning Exchange
Test Development Learning Exchange
Jan 16, 2024 · Fundamentals

Functional Programming in Python: Concepts and Code Examples

This article introduces functional programming concepts in Python, explaining pure functions, higher‑order functions, and function composition, and demonstrates ten practical examples—including map, filter, reduce, list comprehensions, generators, partial application, operator usage, compose, zip, and recursion—to illustrate how to write concise, maintainable code.

Higher-Order FunctionsPython
0 likes · 5 min read
Functional Programming in Python: Concepts and Code Examples
21CTO
21CTO
Jan 14, 2024 · Frontend Development

Run Python Directly in the Browser with PyScript: A Step‑by‑Step Guide

Learn how to embed and execute Python code within HTML using PyScript, covering its background, core features, basic visualization, and a complete Hello World example that displays the host’s IP address, while showcasing code snippets and practical use cases for web development.

PyScriptPythonWebAssembly
0 likes · 8 min read
Run Python Directly in the Browser with PyScript: A Step‑by‑Step Guide
Python Programming Learning Circle
Python Programming Learning Circle
Jan 13, 2024 · Fundamentals

Comprehensive Guide to Python Time Handling Modules (time, datetime, pytz, dateutil, Arrow, ISO 8601)

This article provides a thorough overview of Python's time‑related libraries—including the built‑in time and datetime modules, third‑party pytz, dateutil, and Arrow—explaining core concepts such as timestamps, time zones, daylight‑saving time, and ISO 8601 parsing with clear code examples and usage patterns.

ArrowPythondatetime
0 likes · 27 min read
Comprehensive Guide to Python Time Handling Modules (time, datetime, pytz, dateutil, Arrow, ISO 8601)
Python Programming Learning Circle
Python Programming Learning Circle
Jan 13, 2024 · Operations

17 Essential Python Scripts for Automating Everyday Tasks

Explore 17 practical Python scripts that automate tasks ranging from file management and web scraping to email handling, database interaction, system monitoring, and cloud services, enabling developers and analysts to boost productivity, reduce errors, and streamline workflows across diverse domains.

DatabaseEmailPython
0 likes · 28 min read
17 Essential Python Scripts for Automating Everyday Tasks
21CTO
21CTO
Jan 12, 2024 · Fundamentals

How CPython’s New JIT Will Boost Python 3.13 Performance

The upcoming CPython 3.13 release will optionally include a JIT compiler built on LLVM, offering modest speed gains of 2%‑9% today and promising larger improvements in future versions through advanced optimization techniques.

CPythonJITLLVM
0 likes · 6 min read
How CPython’s New JIT Will Boost Python 3.13 Performance
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 12, 2024 · Artificial Intelligence

Understanding Vector Databases, ANN Algorithms, and Their Integration with Large Language Models

This article explains the fundamentals of vector databases, how high‑dimensional vector data is generated and stored, reviews common ANN search algorithms such as Flat, k‑means and LSH, discusses benchmarking and product selection, and demonstrates practical integration of vector stores with LLMs using LangChain and Python code.

ANNEmbeddingsLLM integration
0 likes · 17 min read
Understanding Vector Databases, ANN Algorithms, and Their Integration with Large Language Models
Test Development Learning Exchange
Test Development Learning Exchange
Jan 10, 2024 · Fundamentals

Understanding Python Decorators: Theory and 10 Practical Use Cases

This article explains the concept and implementation of Python decorators as higher‑order functions and provides ten practical code examples—including timer, debugger, parameterized, class‑based, caching, permission, logging, exception handling, authentication, and chained decorators—to illustrate their versatile applications.

Pythonmetaprogrammingprogramming
0 likes · 7 min read
Understanding Python Decorators: Theory and 10 Practical Use Cases
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 10, 2024 · Artificial Intelligence

Understanding Backpropagation: From Simple to Advanced Neural Network Implementations in Python

This article explains the back‑propagation algorithm in neural networks, starting with a simple single‑neuron example using ReLU, Sigmoid and MSE, then extending to multi‑layer matrix‑based networks, providing detailed Python code, gradient calculations, and comparisons with TensorFlow implementations.

BackpropagationPythongradient descent
0 likes · 21 min read
Understanding Backpropagation: From Simple to Advanced Neural Network Implementations in Python
Python Crawling & Data Mining
Python Crawling & Data Mining
Jan 10, 2024 · Fundamentals

Batch Insert Images into Excel Cells with Python and openpyxl

This article demonstrates how to use Python's openpyxl library to automatically insert named images into specific Excel cells in bulk, explaining the problem, providing a complete script, and offering practical tips for handling large files and sharing the solution with the community.

Batch processingExcel AutomationPython
0 likes · 5 min read
Batch Insert Images into Excel Cells with Python and openpyxl
Python Programming Learning Circle
Python Programming Learning Circle
Jan 9, 2024 · Fundamentals

Comprehensive List of Python Libraries and Tools

This article presents an extensive, categorized catalog of Python libraries and tools covering environments, package management, web frameworks, data processing, machine learning, testing, and many other domains, providing developers with a valuable reference to discover and select appropriate modules for their projects.

Pythonreferencetools
0 likes · 48 min read
Comprehensive List of Python Libraries and Tools
Python Programming Learning Circle
Python Programming Learning Circle
Jan 9, 2024 · Artificial Intelligence

Overview of Common Python Libraries for Artificial Intelligence with Code Examples

This article provides a comprehensive introduction to popular Python libraries used in artificial intelligence, such as NumPy, OpenCV, scikit-image, Pillow, SimpleCV, Mahotas, Ilastik, Scikit-learn, SciPy, NLTK, spaCy, LibROSA, Pandas, Matplotlib, Seaborn, Orange, PyBrain, Theano, Keras, Caffe, MXNet, PaddlePaddle, CNTK, and more, including code snippets and usage examples.

AIPythondata-science
0 likes · 34 min read
Overview of Common Python Libraries for Artificial Intelligence with Code Examples
Python Programming Learning Circle
Python Programming Learning Circle
Jan 8, 2024 · Fundamentals

Comprehensive Guide to Python Built-in Functions

This article presents a detailed overview of Python's 68 built-in functions up to version 3.6.2, categorizing them into twelve groups such as numeric operations, data structures, scope, iterators, I/O, memory, file handling, modules, and more, with code examples illustrating each function's usage.

Data TypesPythonprogramming fundamentals
0 likes · 13 min read
Comprehensive Guide to Python Built-in Functions
Test Development Learning Exchange
Test Development Learning Exchange
Jan 7, 2024 · Big Data

Association Rule Mining Applications Across Various Business Scenarios with Python Code

This article demonstrates how to apply the Apriori algorithm and association rule mining using Python's mlxtend library across ten real‑world business scenarios, providing step‑by‑step code examples for retail, e‑commerce, marketing, healthcare, security, CRM, social networks, travel, market basket, and online advertising.

AprioriPythonassociation rule mining
0 likes · 9 min read
Association Rule Mining Applications Across Various Business Scenarios with Python Code
Python Programming Learning Circle
Python Programming Learning Circle
Jan 6, 2024 · Fundamentals

10 Practical pip Tips for Managing Python Packages

This article introduces ten essential pip techniques—including installation, upgrading, version-specific installs, uninstalling, checking dependencies, using domestic mirrors, downloading without installing, and batch installing from requirements files—to help Python developers efficiently manage their packages.

InstallationPythonUpgrade
0 likes · 6 min read
10 Practical pip Tips for Managing Python Packages
Python Programming Learning Circle
Python Programming Learning Circle
Jan 4, 2024 · Fundamentals

Simple Methods to Speed Up Python For Loops (1.3× to 970×)

This article presents a series of practical techniques—such as list comprehensions, pre‑computing lengths, using sets, skipping irrelevant iterations, inlining functions, generators, map, memoization, vectorization, and efficient string joining—that can accelerate Python for‑loops anywhere from 1.3‑fold up to 970‑fold, with concrete benchmark results and code examples.

Loop OptimizationPythonmemoization
0 likes · 15 min read
Simple Methods to Speed Up Python For Loops (1.3× to 970×)
DataFunTalk
DataFunTalk
Jan 4, 2024 · Artificial Intelligence

Using OpenLLM to Quickly Build and Deploy Large Language Model Applications

This presentation explains how OpenLLM, an open‑source LLM framework, together with BentoML, addresses the challenges of deploying large language models by offering model switching, memory optimizations, multi‑GPU support, observability, and easy containerized deployment for production AI applications.

BentoMLLLM deploymentOpenLLM
0 likes · 18 min read
Using OpenLLM to Quickly Build and Deploy Large Language Model Applications
Python Programming Learning Circle
Python Programming Learning Circle
Dec 30, 2023 · Fundamentals

10 Useful Python Tips and Tricks for Beginners

This article presents ten practical Python tips and tricks, covering list comprehensions, efficient list traversal, element swapping, list initialization, string construction, tuple returns, dictionary access, library usage, slicing and stepping, and indentation best practices, each illustrated with clear code examples.

PythonTipsdictionary
0 likes · 10 min read
10 Useful Python Tips and Tricks for Beginners
Test Development Learning Exchange
Test Development Learning Exchange
Dec 29, 2023 · Artificial Intelligence

Introduction to Essential Python Data Science Libraries with Example Code

This article introduces key Python libraries for data analysis, visualization, statistical modeling, and machine learning—including NumPy, Pandas, Matplotlib, Seaborn, SciPy, Statsmodels, Scikit-learn, BeautifulSoup, TensorFlow, and Plotly—each accompanied by concise code examples demonstrating their core functionality.

Pythondata-sciencelibraries
0 likes · 6 min read
Introduction to Essential Python Data Science Libraries with Example Code
Python Programming Learning Circle
Python Programming Learning Circle
Dec 29, 2023 · Fundamentals

Introduction to Object-Oriented Programming in Python

This article provides a comprehensive overview of Python's object‑oriented programming features, covering classes, class and instance variables, methods, inheritance, method overriding, built‑in class attributes, and garbage collection, supplemented with clear code examples and explanations.

Garbage CollectionInheritanceOOP
0 likes · 9 min read
Introduction to Object-Oriented Programming in Python
Python Programming Learning Circle
Python Programming Learning Circle
Dec 26, 2023 · Backend Development

Step-by-Step Guide to Setting Up a Mirai QQ Bot with Python

This tutorial walks you through the complete process of configuring the Mirai ecosystem, installing mirai-console-loader, handling login verification with Selenium, setting up mirai-api-http, configuring OpenJDK, and finally writing and running a Python bot using graia-application-mirai, providing detailed screenshots and code snippets.

BackendPythonQQ Bot
0 likes · 9 min read
Step-by-Step Guide to Setting Up a Mirai QQ Bot with Python
IT Services Circle
IT Services Circle
Dec 23, 2023 · Fundamentals

Understanding Floating‑Point Precision Issues in Python and How to Handle Them

The article explains why Python’s 0.1 + 0.2 does not equal 0.3 due to binary representation limits, discusses the impact of tiny rounding errors on equality checks, and recommends using tolerance thresholds or the Decimal module (initialized with strings) for accurate numeric computations, especially in finance.

DecimalNumerical ComparisonPython
0 likes · 3 min read
Understanding Floating‑Point Precision Issues in Python and How to Handle Them
Python Programming Learning Circle
Python Programming Learning Circle
Dec 22, 2023 · Fundamentals

Hidden Python Tricks and Useful Functions

This article introduces a collection of lesser‑known Python tricks—including ternary operators, enumerate, zip, list comprehensions, lambda functions, any/all, itertools, generators, decorators, argument unpacking, dynamic imports, dictionary comprehensions, and mutable data structures—providing concise explanations and runnable code examples to boost coding efficiency.

FunctionsPythonTips
0 likes · 10 min read
Hidden Python Tricks and Useful Functions
Python Programming Learning Circle
Python Programming Learning Circle
Dec 22, 2023 · Operations

10 Python Automation Scripts to Simplify Everyday Tasks

This article presents ten practical Python automation scripts—including HTML parsing, QR code scanning, screenshot capture, audiobook creation, PDF editing, StackOverflow querying, mobile phone control, CPU/GPU temperature monitoring, Instagram uploading, and video watermarking—to help automate repetitive tasks and boost productivity.

CLIPythonautomation
0 likes · 14 min read
10 Python Automation Scripts to Simplify Everyday Tasks
Test Development Learning Exchange
Test Development Learning Exchange
Dec 21, 2023 · Backend Development

Advanced Requestium Techniques for Python Web Automation and Scraping

This article introduces Requestium, a Python library that merges Selenium and Requests, and provides step‑by‑step examples covering basic session setup, installation, dynamic content handling, user interaction simulation, cookie and header management, asynchronous fetching, iframe switching, alert handling, and screenshot or video recording.

PythonRequestiumSelenium
0 likes · 8 min read
Advanced Requestium Techniques for Python Web Automation and Scraping
Python Programming Learning Circle
Python Programming Learning Circle
Dec 21, 2023 · Artificial Intelligence

Introducing Streamlit: A Free Open‑Source Framework for Building Machine‑Learning Apps with Python

Streamlit is a free, open‑source Python framework that lets machine‑learning engineers quickly turn scripts into interactive web apps, featuring top‑to‑bottom script execution, widget‑as‑variable handling, caching, GPU support, and seamless integration with tools like Git.

App DevelopmentGPUPython
0 likes · 9 min read
Introducing Streamlit: A Free Open‑Source Framework for Building Machine‑Learning Apps with Python
Python Programming Learning Circle
Python Programming Learning Circle
Dec 21, 2023 · Fundamentals

Advanced Python Concepts: Exception Handling, Collections, itertools, Lambdas, Decorators, Generators, and More

This article presents a comprehensive guide to advanced Python topics—including exception handling, the collections and itertools modules, lambda functions, decorators, generators, process/thread basics, dunder methods, logging, and context managers—providing code examples and explanations to help developers deepen their expertise.

Exception HandlingPython
0 likes · 12 min read
Advanced Python Concepts: Exception Handling, Collections, itertools, Lambdas, Decorators, Generators, and More
Test Development Learning Exchange
Test Development Learning Exchange
Dec 20, 2023 · Backend Development

Advanced @betamax.use_cassette Techniques for Automated Testing

This article explains why recording and replaying HTTP interactions with Betamax is essential for automated testing, outlines its benefits such as consistency, efficiency, error reduction, regression support, and provides multiple advanced code examples for custom recording modes, request filtering, cassette control, context‑manager usage, and handling dynamic content.

BetamaxCassetteHTTP Recording
0 likes · 10 min read
Advanced @betamax.use_cassette Techniques for Automated Testing
Python Crawling & Data Mining
Python Crawling & Data Mining
Dec 19, 2023 · Fundamentals

How to Fix Matplotlib Title Encoding Errors in Python

This article walks through a common Matplotlib title garbling issue caused by encoding settings, explains why the 'encoding' argument triggers an AttributeError, and provides a concise code fix using font configuration to display Chinese characters correctly.

EncodingMatplotlibPython
0 likes · 3 min read
How to Fix Matplotlib Title Encoding Errors in Python
Python Programming Learning Circle
Python Programming Learning Circle
Dec 16, 2023 · Artificial Intelligence

Using highway‑env with OpenAI Gym for Reinforcement Learning: Installation, Configuration, and DQN Training

This tutorial explains how to install the gym and highway‑env packages, configure the highway‑v0 environment, explore its observation types, and implement a DQN agent in Python to train and evaluate autonomous driving policies, complete with code snippets and performance visualizations.

DQNPythongym
0 likes · 9 min read
Using highway‑env with OpenAI Gym for Reinforcement Learning: Installation, Configuration, and DQN Training
Test Development Learning Exchange
Test Development Learning Exchange
Dec 15, 2023 · Fundamentals

Python Visualization Libraries: Matplotlib, Seaborn, Plotly, Bokeh, Altair, Plotnine, VisPy, Pygame, Kivy, PyQt/PySide – Code Samples and Usage

This article introduces ten popular Python visualization and GUI libraries—Matplotlib, Seaborn, Plotly, Bokeh, Altair, Plotnine, VisPy, Pygame, Kivy, and PyQt/PySide—providing concise code examples and brief explanations of their typical use cases and strengths.

BokehData visualizationMatplotlib
0 likes · 8 min read
Python Visualization Libraries: Matplotlib, Seaborn, Plotly, Bokeh, Altair, Plotnine, VisPy, Pygame, Kivy, PyQt/PySide – Code Samples and Usage
Python Programming Learning Circle
Python Programming Learning Circle
Dec 15, 2023 · Backend Development

phpy v2 – A High‑Performance PHP‑Python Bridge: Architecture, Usage, and Benchmarks

The article introduces the second version of phpy, a PHP extension that embeds a Python interpreter, explains its dual‑VM runtime architecture, shows how to use it under PHP‑FPM, presents detailed performance benchmarks, covers exception handling, IDE auto‑completion, compilation options, dynamic‑library troubleshooting, and provides numerous code examples for testing and scientific computing.

BackendExtensionPython
0 likes · 12 min read
phpy v2 – A High‑Performance PHP‑Python Bridge: Architecture, Usage, and Benchmarks
ITPUB
ITPUB
Dec 14, 2023 · Big Data

How to Build a Python‑Hadoop Word Count on a Single‑Node Cluster

This step‑by‑step guide shows how to install and configure a single‑node Hadoop 3.2.0 environment on CentOS 7, set up Python 3.7, write MapReduce mapper and reducer scripts in Python, and run a word‑count job using Hadoop streaming, illustrating core Hadoop concepts and their relevance today.

HadoopMapReducePython
0 likes · 21 min read
How to Build a Python‑Hadoop Word Count on a Single‑Node Cluster
Test Development Learning Exchange
Test Development Learning Exchange
Dec 12, 2023 · Fundamentals

Python Memory Management and Optimization Techniques

Python automatically manages memory through garbage collection, and this article explains how the garbage collector works and presents ten practical techniques—including manual gc calls, generators, sys.getsizeof, slice copying, del statements, sys.intern, NumPy, pandas, reference counting, and __slots__—to reduce memory usage and improve performance.

Garbage CollectionOptimizationPython
0 likes · 5 min read
Python Memory Management and Optimization Techniques
Python Programming Learning Circle
Python Programming Learning Circle
Dec 12, 2023 · Fundamentals

10 Python Data Visualization Libraries for Multiple Disciplines

This article introduces ten Python visualization libraries—ranging from the classic Matplotlib to newer tools like Plotly and Leather—detailing their features, typical use cases, developer backgrounds, and how they complement each other for creating static, interactive, and geographic visualizations across various fields.

BokehMatplotlibPython
0 likes · 7 min read
10 Python Data Visualization Libraries for Multiple Disciplines