Tagged articles

Python

5000 articles · Page 32 of 50
Test Development Learning Exchange
Test Development Learning Exchange
Jun 15, 2023 · Frontend Development

How to Build a Google Chrome Full-Page Screenshot Extension with Python and Selenium

This article provides a step-by-step guide to creating a Google Chrome extension that captures full-page screenshots, detailing the required project structure, manifest configuration, JavaScript background and content scripts, and a Python Selenium script for automated screenshot capture and saving.

Chrome extensionJavaScriptPython
0 likes · 7 min read
How to Build a Google Chrome Full-Page Screenshot Extension with Python and Selenium
Test Development Learning Exchange
Test Development Learning Exchange
Jun 14, 2023 · Backend Development

Building a Multi-Type Batch Fake Data Generation Tool with Flask and Vue.js

This tutorial explains how to create a web‑based tool that generates batch mock data of various types—including names, ages, genders, ID numbers, phone numbers, emails, and bank cards—by implementing a Flask backend API and a Vue.js frontend interface, complete with setup, code examples, and deployment steps.

Fake DataFlaskJavaScript
0 likes · 9 min read
Building a Multi-Type Batch Fake Data Generation Tool with Flask and Vue.js
Python Programming Learning Circle
Python Programming Learning Circle
Jun 13, 2023 · Fundamentals

Python Performance Optimization Tools and Techniques

This article introduces a variety of Python optimization tools—including NumPy, SciPy, Pandas, JIT compilers like PyPy, GPU libraries, Cython, Numba, and interfacing utilities—explaining how they can make code more concise, faster, and better suited for single‑processor or multi‑processor execution.

LibrariesPerformancePython
0 likes · 8 min read
Python Performance Optimization Tools and Techniques
Software Development Quality
Software Development Quality
Jun 13, 2023 · Information Security

How to Perform Anonymous Online Port Scans with Scanless

This guide introduces Scanless, a Python‑based tool that leverages third‑party online scanners to conduct anonymous port scans, explains how to install it via Git and pip, demonstrates command‑line usage and Docker support, and lists the supported scanning services.

DockerPythonanonymous scanning
0 likes · 3 min read
How to Perform Anonymous Online Port Scans with Scanless
Python Programming Learning Circle
Python Programming Learning Circle
Jun 10, 2023 · Fundamentals

Advanced Pandas Operations: Complex Queries, Type Conversion, Sorting, Modification, Filtering, Iteration, and Function Application

This article provides a thorough walkthrough of advanced Pandas techniques—including complex logical queries, data‑type conversion, sorting, adding or modifying rows and columns, sophisticated filtering, iteration methods, and various function‑application utilities—complete with practical code examples for each operation.

Data AnalysisData manipulationFiltering
0 likes · 17 min read
Advanced Pandas Operations: Complex Queries, Type Conversion, Sorting, Modification, Filtering, Iteration, and Function Application
Python Programming Learning Circle
Python Programming Learning Circle
Jun 9, 2023 · Fundamentals

Critical Review of Common Mistakes in the Python Book “From 0 to 1”

The article reviews the newly released Python book “From 0 to 1”, exposing dozens of factual and conceptual errors ranging from variable naming rules and misuse of triple‑quoted strings to incorrect explanations of built‑in functions, and warns readers to avoid the book while offering free Python learning resources.

Pythonbook reviewerrors
0 likes · 12 min read
Critical Review of Common Mistakes in the Python Book “From 0 to 1”
360 Quality & Efficiency
360 Quality & Efficiency
Jun 9, 2023 · Backend Development

Comprehensive OTA Testing Guide: Functional, Performance, Compatibility, and Automation Strategies

This article presents a detailed OTA (Over‑the‑Air) testing framework covering preparation, functional test points, upgrade strategies, data consistency, compatibility, performance load testing, and Python‑based automation for IoT devices, helping engineers avoid missed cases and ensure reliable firmware upgrades.

IoTMQTTOTA
0 likes · 9 min read
Comprehensive OTA Testing Guide: Functional, Performance, Compatibility, and Automation Strategies
Test Development Learning Exchange
Test Development Learning Exchange
Jun 7, 2023 · Backend Development

Using Python Decorators for API Automation Testing

This article explains how Python decorators can abstract common functionalities such as logging, authentication, and performance monitoring in API automation testing, providing code examples, recommended use‑cases, and a complete demonstration that integrates logging and MySQL data storage to improve test efficiency and maintainability.

DecoratorMySQLPython
0 likes · 7 min read
Using Python Decorators for API Automation Testing
21CTO
21CTO
Jun 2, 2023 · Artificial Intelligence

Build a ChatGPT-Powered Python Chatbot: Step-by-Step Guide

This tutorial walks developers through setting up an OpenAI account, obtaining an API key, configuring the Python environment, and writing a complete Python script that uses the ChatGPT API to create an interactive chatbot, complete with code examples and execution tips.

Artificial IntelligenceChatGPTOpenAI API
0 likes · 11 min read
Build a ChatGPT-Powered Python Chatbot: Step-by-Step Guide
Python Programming Learning Circle
Python Programming Learning Circle
Jun 1, 2023 · Fundamentals

Guido van Rossum: The Legend Behind Python – A 30‑Year Journey

This article chronicles the life and career of Guido van Rossum, the creator of Python, detailing his early fascination with computers, the birth of Python in 1989, its evolution across various domains, his roles at Google and Dropbox, retirement, and recent return to Microsoft, while also offering a free Python learning resource.

BDFLGuido van RossumPython
0 likes · 5 min read
Guido van Rossum: The Legend Behind Python – A 30‑Year Journey
21CTO
21CTO
May 31, 2023 · Artificial Intelligence

How to Build a Private, Offline GPT with Python – Step‑by‑Step Guide

This tutorial explains how to set up PrivateGPT, a Python‑based offline LLM solution that runs locally without sending any data to the cloud, covering environment preparation, model download, repository cloning, data ingestion, and interactive querying.

Local LLMPrivateGPTPython
0 likes · 5 min read
How to Build a Private, Offline GPT with Python – Step‑by‑Step Guide
Test Development Learning Exchange
Test Development Learning Exchange
May 30, 2023 · Backend Development

Building a Simple Python Tool for Detecting Event Tracking (埋点) in Web Applications

This article demonstrates how to create a Python-based tool that crawls click‑event data from an e‑commerce site, processes and visualizes the information to verify event‑tracking code, covering preparation, data collection, analysis, and visualization steps with complete source code.

Backend DevelopmentData VisualizationPython
0 likes · 7 min read
Building a Simple Python Tool for Detecting Event Tracking (埋点) in Web Applications
Test Development Learning Exchange
Test Development Learning Exchange
May 27, 2023 · Artificial Intelligence

Eight Essential OpenCV Examples for Image Processing

This article introduces eight fundamental OpenCV examples—including image reading, display, grayscale conversion, edge detection, resizing, Gaussian blur, and face detection—providing concise Python code snippets and explanations to help readers quickly apply these common computer‑vision techniques.

Code ExamplesOpenCVPython
0 likes · 5 min read
Eight Essential OpenCV Examples for Image Processing
Python Programming Learning Circle
Python Programming Learning Circle
May 27, 2023 · Fundamentals

14 Lesser-Known Python Tricks to Write Cleaner, Faster Code

This article introduces fourteen relatively unknown Python techniques—including the ternary operator, enumerate, zip, list comprehensions, lambda functions, any/all, itertools, generators, decorators, argument unpacking, dynamic imports, dictionary comprehensions, callable objects, underscore separators, and dictionary merging—to help developers write more concise, efficient, and readable code.

PythonPython Trickscode
0 likes · 10 min read
14 Lesser-Known Python Tricks to Write Cleaner, Faster Code
Python Programming Learning Circle
Python Programming Learning Circle
May 26, 2023 · Fundamentals

Introduction to Statsmodels: Installation, Data Loading, and Basic Statistical Analysis with Python

This article introduces the Python Statsmodels library, explains its key features such as linear regression, GLM, time‑series and robust methods, shows how to install it, load data with pandas, perform descriptive statistics, visualizations, hypothesis testing, and simple and multiple linear regression examples.

Pythondata-analysisregression
0 likes · 6 min read
Introduction to Statsmodels: Installation, Data Loading, and Basic Statistical Analysis with Python
Liangxu Linux
Liangxu Linux
May 24, 2023 · Fundamentals

Why 0.1 + 0.2 Gives 0.30000000000000004 – Inside 64‑bit Floating‑Point Math

This article explains why adding the decimal numbers 0.1 and 0.2 in binary floating‑point arithmetic yields the surprising result 0.30000000000000004, by detailing the exact 64‑bit representations, the rounding‑to‑nearest‑even rule, and step‑by‑step Python calculations that expose the underlying IEEE‑754 mechanics.

IEEE 754PythonRounding
0 likes · 10 min read
Why 0.1 + 0.2 Gives 0.30000000000000004 – Inside 64‑bit Floating‑Point Math
Python Programming Learning Circle
Python Programming Learning Circle
May 24, 2023 · Fundamentals

pdf2docx: Python Library for Converting PDF Files to DOCX with Features, Limitations, Installation, and Example

The pdf2docx library uses PyMuPDF and python-docx to extract PDF layouts, paragraphs, images, and tables, offering multi‑process conversion while noting current limitations such as lack of OCR and support for only left‑to‑right languages, and provides simple pip installation and a code example.

ConversionLibraryPDF
0 likes · 3 min read
pdf2docx: Python Library for Converting PDF Files to DOCX with Features, Limitations, Installation, and Example
DevOps Cloud Academy
DevOps Cloud Academy
May 24, 2023 · Operations

Managing Jenkins with the python-jenkins API

This tutorial demonstrates how to install the python-jenkins library, explore its extensive API methods, and use Python scripts to create, copy, configure, and control Jenkins jobs, nodes, views, plugins, and builds, providing practical examples and code snippets for each operation.

APICI/CDDevOps
0 likes · 9 min read
Managing Jenkins with the python-jenkins API
21CTO
21CTO
May 22, 2023 · Artificial Intelligence

Google Brings Codey-Powered AI Coding to Colab – Free Copilot Alternative

Google announced that Colab will soon offer AI-driven code generation, completion, and chat assistance powered by the Codey model, providing a free, multi‑language development tool that rivals GitHub Copilot for Python and machine‑learning workflows.

AI code generationCodeyGitHub Copilot
0 likes · 4 min read
Google Brings Codey-Powered AI Coding to Colab – Free Copilot Alternative
Python Programming Learning Circle
Python Programming Learning Circle
May 22, 2023 · Fundamentals

Top 15 Most Downloaded Python Packages on PyPI and Their Uses

This article reviews the fifteen Python packages with the highest download counts on PyPI over the past year, explaining each library's purpose, key features, typical use‑cases, and providing code examples to illustrate how they simplify tasks such as HTTP requests, compatibility, cloud interaction, configuration, security, and data handling.

PyPIPythoncloud
0 likes · 15 min read
Top 15 Most Downloaded Python Packages on PyPI and Their Uses
Test Development Learning Exchange
Test Development Learning Exchange
May 20, 2023 · Information Security

Build a Simple Python Port Scanner: Step‑by‑Step Guide

This article explains how to create a Python‑based network port scanner that probes a target host, uses sockets and multithreading to detect open TCP ports, and provides clear usage instructions, sample code, and optional enhancements for faster or more comprehensive scanning.

Argument ParsingPort ScannerPython
0 likes · 9 min read
Build a Simple Python Port Scanner: Step‑by‑Step Guide
Python Programming Learning Circle
Python Programming Learning Circle
May 20, 2023 · Backend Development

Rye: A Rust‑Based Python Package Manager That Quickly Topped GitHub Trending

Rye, a Rust‑written Python package manager created by Flask author Armin Ronacher, quickly topped GitHub Trending, offering one‑stop management of Python packages, environments, and projects with features like automatic installation, global isolation tools, and seamless pyproject.toml handling, illustrated through command‑line examples and praised by developers such as Simon Willison.

Pythonpackage-management
0 likes · 5 min read
Rye: A Rust‑Based Python Package Manager That Quickly Topped GitHub Trending
Test Development Learning Exchange
Test Development Learning Exchange
May 18, 2023 · Fundamentals

Three Python 3 Methods for Bulk File Renaming

This article introduces three Python 3 techniques for bulk file renaming—recursive numbering, renaming based on creation timestamps, and using regular expressions—explaining their advantages, providing complete code examples, and guiding readers on adapting the scripts for their own file management needs.

File RenamingPythonbulk processing
0 likes · 6 min read
Three Python 3 Methods for Bulk File Renaming
JD Retail Technology
JD Retail Technology
May 16, 2023 · Artificial Intelligence

Deploying and Fine‑Tuning the Alpaca‑LoRA Large Language Model on a Multi‑GPU Server

This guide details the end‑to‑end process of installing GPU drivers, setting up a Python environment, deploying the open‑source Alpaca‑LoRA model, fine‑tuning it with Chinese data on a multi‑GPU server, and performing inference, while highlighting practical challenges and performance observations.

Alpaca-LoRALLMPython
0 likes · 11 min read
Deploying and Fine‑Tuning the Alpaca‑LoRA Large Language Model on a Multi‑GPU Server
Python Programming Learning Circle
Python Programming Learning Circle
May 16, 2023 · Fundamentals

Python Is Effectively Two Languages: Typed vs. Untyped and Why It’s a Good Thing

The article explains how Python now exists as both a typed and an untyped language, distinguishes infrastructure code from business‑logic code, and argues that embracing both styles—using type hints for business logic while keeping infrastructure flexible—strengthens developers and improves software quality.

Pythonbusiness-logicinfrastructure-code
0 likes · 7 min read
Python Is Effectively Two Languages: Typed vs. Untyped and Why It’s a Good Thing
Continuous Delivery 2.0
Continuous Delivery 2.0
May 16, 2023 · Artificial Intelligence

How to Write Effective Prompts and Use the OpenAI Python API

This article explains practical principles and techniques for crafting clear, specific prompts for ChatGPT, demonstrates how to structure prompts with separators and output formats, and provides a step‑by‑step guide—including code examples—for installing the OpenAI Python library, obtaining an API key, and writing a reusable get_completion function to interact with the model.

AIChatGPTCode Examples
0 likes · 9 min read
How to Write Effective Prompts and Use the OpenAI Python API
Python Programming Learning Circle
Python Programming Learning Circle
May 15, 2023 · Fundamentals

10 Practical pip Commands and Tips for Managing Python Packages

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

InstallationPythoncommand line
0 likes · 7 min read
10 Practical pip Commands and Tips for Managing Python Packages
Test Development Learning Exchange
Test Development Learning Exchange
May 13, 2023 · Fundamentals

Comprehensive Python Snippets: JSON Conversion, Date/Time Formatting, File I/O, QR & Barcode Generation, List & JSON Comparison, Class Reflection, and File Size Management

This article presents a collection of Python code examples covering JSON serialization, date‑time formatting, file reading, QR‑code and barcode creation, list and JSON comparison, class method reflection, and automatic file‑size‑based cleanup, providing practical guidance for everyday scripting tasks.

PythonQR codeReflection
0 likes · 14 min read
Comprehensive Python Snippets: JSON Conversion, Date/Time Formatting, File I/O, QR & Barcode Generation, List & JSON Comparison, Class Reflection, and File Size Management
Programmer DD
Programmer DD
May 12, 2023 · Artificial Intelligence

Integrate ChatGPT & Stable Diffusion into Your WeChat App in 1 Minute

This tutorial shows how to quickly integrate ChatGPT and Stable Diffusion AIGC models into a WeChat public account or mini‑program using the AIGCaaS platform, covering registration, API Explorer usage, code customization, asynchronous handling, and deployment with Python Flask.

AIGCChatGPTFlask
0 likes · 13 min read
Integrate ChatGPT & Stable Diffusion into Your WeChat App in 1 Minute
Python Programming Learning Circle
Python Programming Learning Circle
May 9, 2023 · Fundamentals

Python Automation Scripts: URL Shortener, Fake Data Generator, YouTube Downloader, NATO Encoder, and Selenium Login

This article showcases Python's concise syntax and powerful libraries by comparing a simple web request with JavaScript and providing five practical automation scripts—including a URL shortener, fake data generator, YouTube downloader, NATO alphabet encoder, and Selenium-based social‑media login—demonstrating why Python is ideal for repetitive tasks.

FakerPythonautomation
0 likes · 7 min read
Python Automation Scripts: URL Shortener, Fake Data Generator, YouTube Downloader, NATO Encoder, and Selenium Login
IT Services Circle
IT Services Circle
May 8, 2023 · Artificial Intelligence

Mojo: A New High‑Performance Programming Language Bridging Python Ease and C‑Level Speed for AI

Mojo, the new programming language announced by Chris Lattner’s Modular AI, combines Python’s usability with C‑level performance, offering seamless interoperability, extensive compiler optimizations, and scalability for AI workloads, positioning itself as a potential breakthrough in machine‑learning infrastructure and development.

AIMojoProgramming Language
0 likes · 8 min read
Mojo: A New High‑Performance Programming Language Bridging Python Ease and C‑Level Speed for AI
21CTO
21CTO
May 7, 2023 · Artificial Intelligence

Can Mojo Make Python 35,000× Faster? Inside the New AI‑Focused Language

Modular's new Mojo language blends Python's ease of use with C‑level performance, leveraging MLIR and hardware acceleration to claim up to 35,000‑fold speed gains, while offering system‑programming features, zero‑cost abstractions, and a path toward a Python superset for AI development.

AIHigh PerformanceMojo
0 likes · 6 min read
Can Mojo Make Python 35,000× Faster? Inside the New AI‑Focused Language
Python Programming Learning Circle
Python Programming Learning Circle
May 4, 2023 · Big Data

Advanced Pandas Data Manipulation Techniques

This article provides a comprehensive guide to using Pandas for complex queries, data type conversion, sorting, adding and modifying data, advanced filtering, iteration, and functional operations, offering numerous code examples that illustrate how to efficiently clean, transform, and analyze tabular data in Python.

AggregationFilteringPython
0 likes · 14 min read
Advanced Pandas Data Manipulation Techniques
Python Programming Learning Circle
Python Programming Learning Circle
May 3, 2023 · Fundamentals

11 Pythonic Tricks to Boost Your Python Skills

This article introduces eleven practical Pythonic techniques—including destructuring assignment, zip aggregation, lambda usage, underscore placeholders, list comprehensions, dummy functions, regex handling, map/reduce, whitespace trimming, shallow copying, and interpreter shortcuts—each illustrated with clear code examples to help developers write more elegant and efficient Python code.

Pythoncodefundamentals
0 likes · 7 min read
11 Pythonic Tricks to Boost Your Python Skills
IT Services Circle
IT Services Circle
Apr 25, 2023 · Information Security

WeChat Crash via Malformed QR Code: Technical Analysis and Reproduction

Researchers discovered that a specially crafted QR code triggers a memory leak in WeChat’s OCR engine, causing the app to crash on both mobile and desktop platforms; the article explains the underlying bug, provides detailed decoding analysis, and shares Python code to reproduce the malformed QR code.

OpenCVPythonQR code
0 likes · 8 min read
WeChat Crash via Malformed QR Code: Technical Analysis and Reproduction
Programmer DD
Programmer DD
Apr 25, 2023 · Artificial Intelligence

Why a Single QR Code Crashes WeChat: Inside the Memory Leak Bug

An unusual QR code triggers a memory‑leak in WeChat’s OCR engine, causing the app to crash on both mobile and desktop; the article explains the underlying null‑pointer exception, shows how the malformed “abnormal QR code” corrupts libqbar.so, and provides Python code to reproduce the bug using OpenCV’s open‑source QR engine.

CrashMemory LeakOpenCV
0 likes · 9 min read
Why a Single QR Code Crashes WeChat: Inside the Memory Leak Bug
Python Programming Learning Circle
Python Programming Learning Circle
Apr 23, 2023 · Big Data

Parallel Processing of Large CSV Files in Python with multiprocessing, joblib, and tqdm

This tutorial demonstrates how to accelerate processing of a 2.8‑million‑row CSV dataset by using Python's multiprocessing, joblib, and tqdm libraries, covering serial, parallel, and batch processing techniques, performance measurements, and best‑practice code examples for efficient large‑scale data handling.

Pythonbig datadata engineering
0 likes · 9 min read
Parallel Processing of Large CSV Files in Python with multiprocessing, joblib, and tqdm
Top Architect
Top Architect
Apr 21, 2023 · Artificial Intelligence

Fine‑Tuning LLaMA‑7B with Alpaca‑LoRA to Build a Chinese ChatGPT

This article explains why and how to fine‑tune the LLaMA‑7B model using the cheap Alpaca‑LoRA approach, covering hardware requirements, dataset preparation, LoRA training, optional model merging and quantization, and provides ready‑to‑run code snippets for single‑ and multi‑GPU setups.

Alpaca-LoRALLMPython
0 likes · 10 min read
Fine‑Tuning LLaMA‑7B with Alpaca‑LoRA to Build a Chinese ChatGPT
Continuous Delivery 2.0
Continuous Delivery 2.0
Apr 20, 2023 · Artificial Intelligence

AutoGPT: Autonomous AI Tool Overview, Demonstrations, and Setup Guide

AutoGPT, the latest autonomous AI system, can independently browse the web, use third‑party tools, and execute tasks without human intervention, exemplified by building a React website in minutes, and this article explains its principles, showcases demos, and provides step‑by‑step installation instructions.

AI toolsAgentGPTAutoGPT
0 likes · 10 min read
AutoGPT: Autonomous AI Tool Overview, Demonstrations, and Setup Guide
Python Programming Learning Circle
Python Programming Learning Circle
Apr 19, 2023 · Fundamentals

Hidden Python Tricks: Ternary Operator, enumerate, zip, List Comprehensions, Lambdas, Generators, Decorators and More

This article introduces a collection of lesser‑known Python techniques—including the ternary operator, enumerate, zip, list comprehensions, lambda functions, any/all, itertools, generators, decorators, dynamic imports, dictionary comprehensions, and mutable data structures—each explained with clear examples to help developers write more concise and efficient code.

Code ExamplesPythondecorators
0 likes · 10 min read
Hidden Python Tricks: Ternary Operator, enumerate, zip, List Comprehensions, Lambdas, Generators, Decorators and More
MaGe Linux Operations
MaGe Linux Operations
Apr 14, 2023 · Fundamentals

10 Essential pip Tricks Every Python Developer Should Know

This guide presents ten practical pip techniques—from installing and upgrading pip itself to batch installing, freezing dependencies, checking compatibility, and downloading packages—empowering Python developers to manage third‑party libraries more efficiently and avoid technical debt.

PythonTutorialcommand-line
0 likes · 9 min read
10 Essential pip Tricks Every Python Developer Should Know
Python Programming Learning Circle
Python Programming Learning Circle
Apr 10, 2023 · Fundamentals

Common Python Design Questions and Explanations

This article explains why Python uses indentation for block grouping, how floating‑point arithmetic works, why strings are immutable, the purpose of the explicit self parameter, the absence of assignment in expressions, and many other design decisions that shape Python's syntax and runtime behavior.

Data StructuresFAQLanguage Design
0 likes · 27 min read
Common Python Design Questions and Explanations
FunTester
FunTester
Apr 10, 2023 · Industry Insights

How to Map China’s Qingming Rainfall Using Free Weather APIs and Python

This guide shows how to collect nationwide weather data for the Qingming Festival via the free QWeather API, process it with Python to generate a CSV file, and visualize the rainfall distribution across China using a desktop data‑visualization tool.

CSVData VisualizationPython
0 likes · 6 min read
How to Map China’s Qingming Rainfall Using Free Weather APIs and Python
FunTester
FunTester
Apr 8, 2023 · Backend Development

Master JSON Extraction in Python with JsonPath: A Practical Guide

This tutorial shows how to install the JsonPath library, retrieve JSON data from an API, and use both traditional indexing and powerful JsonPath expressions—including filters, wildcards, and slicing—to efficiently extract nested values for automated testing.

API-testingJSON extractionJSONPath
0 likes · 7 min read
Master JSON Extraction in Python with JsonPath: A Practical Guide
Python Programming Learning Circle
Python Programming Learning Circle
Apr 8, 2023 · Operations

Using Python for Operations Automation: Remote Execution, Log Parsing, Monitoring, Deployment, and Backup

The article explains how operations engineers can leverage Python scripts and popular libraries such as paramiko, regex, psutil, fabric, and shutil to automate common tasks like remote command execution, log analysis, system monitoring with alerts, batch software deployment, and file backup and recovery, providing code examples for each scenario.

DevOpsOperationsPython
0 likes · 9 min read
Using Python for Operations Automation: Remote Execution, Log Parsing, Monitoring, Deployment, and Backup
360 Quality & Efficiency
360 Quality & Efficiency
Apr 7, 2023 · Backend Development

RabbitMQ Introduction: Installation, Basic and Advanced Producer/Consumer Patterns, Exchanges, and Common Issues

This guide introduces RabbitMQ, explains how to install it with Docker, covers basic and advanced producer/consumer usage including acknowledgments, durability, QoS, bindings, and exchange types, and discusses a typical Python reconnection problem, providing a practical overview for backend developers.

DockerExchangePython
0 likes · 5 min read
RabbitMQ Introduction: Installation, Basic and Advanced Producer/Consumer Patterns, Exchanges, and Common Issues
360 Quality & Efficiency
360 Quality & Efficiency
Apr 7, 2023 · Mobile Development

Mobile App UI Automation Using ATX and Python: POM, Data‑Driven and Keyword‑Driven Approaches

This article describes how a mobile development team adopted the ATX automation framework with Python, employing Page Object Model, data‑driven and keyword‑driven techniques to replace manual regression testing, integrate firmware interaction, and streamline test execution and reporting.

ATXData‑Driven TestingKeyword‑Driven Testing
0 likes · 7 min read
Mobile App UI Automation Using ATX and Python: POM, Data‑Driven and Keyword‑Driven Approaches
Tencent Cloud Developer
Tencent Cloud Developer
Apr 4, 2023 · Artificial Intelligence

Step-by-Step Guide to Building Your Own Realistic AI Image Generation Website with Stable Diffusion

This step‑by‑step tutorial shows how to set up a Stable Diffusion web UI, install the required Python environment and GPU‑enabled PyTorch, add Chinese localization and optional LoRA or Deforum extensions, generate realistic human images, create animated videos, and add speech with D‑ID, all ready for deployment on your own AI website.

DeforumGitPython
0 likes · 9 min read
Step-by-Step Guide to Building Your Own Realistic AI Image Generation Website with Stable Diffusion
NetEase LeiHuo UX Big Data Technology
NetEase LeiHuo UX Big Data Technology
Apr 3, 2023 · Artificial Intelligence

Understanding Causal Inference and How to Use the DoWhy Library

This article explains why causal inference is essential for moving beyond correlation to decision‑making, introduces the structural causal model framework, and provides a step‑by‑step guide to using Microsoft’s DoWhy Python library for modeling, identification, estimation, and counterfactual analysis.

Artificial IntelligenceDoWhyPython
0 likes · 7 min read
Understanding Causal Inference and How to Use the DoWhy Library
Python Programming Learning Circle
Python Programming Learning Circle
Apr 3, 2023 · Fundamentals

20 Essential Python Tricks for Improving Code Readability and Efficiency

This article presents twenty practical Python techniques—including string reversal, title casing, unique element extraction, list multiplication, dictionary merging, and performance timing—that enhance code readability, simplify common tasks, and boost development efficiency for programmers seeking to write cleaner, more effective Python scripts.

Pythoncodeprogramming
0 likes · 9 min read
20 Essential Python Tricks for Improving Code Readability and Efficiency
21CTO
21CTO
Apr 2, 2023 · Backend Development

How Codon Turbocharges Python: A Compiler That Rivals C++

Codon, a new Python compiler introduced by IEEE Spectrum, uses static type checking to eliminate runtime overhead, delivering C++‑level performance—10 to 100 times faster than CPython—while targeting genomics, big‑data, and other compute‑intensive domains, though it sacrifices some dynamic Python features.

CodonInstallationPerformance
0 likes · 7 min read
How Codon Turbocharges Python: A Compiler That Rivals C++
Python Programming Learning Circle
Python Programming Learning Circle
Apr 1, 2023 · Fundamentals

JupyterLab Visual Debugger and xeus‑python Kernel: Installation, Features, and Front‑End Architecture

The article introduces JupyterLab’s new visual debugger, explains why debugging is needed in Jupyter, provides installation commands for the front‑end extension and xeus‑python kernel, describes the debugger’s UI components and capabilities, and compares it with a VS Code visual debugging tool.

IDEJupyterLabPython
0 likes · 6 min read
JupyterLab Visual Debugger and xeus‑python Kernel: Installation, Features, and Front‑End Architecture
Python Crawling & Data Mining
Python Crawling & Data Mining
Apr 1, 2023 · Backend Development

How to Fix Chinese Garbled Text in Python Web Scraping

This article explains three practical methods—using response.content, apparent_encoding, and custom encode/decode—to resolve Chinese character garbling in Python web crawlers, includes code snippets and screenshots, and offers concise guidance for developers facing this common issue.

ChinesePythonencoding
0 likes · 5 min read
How to Fix Chinese Garbled Text in Python Web Scraping
Python Programming Learning Circle
Python Programming Learning Circle
Mar 31, 2023 · Fundamentals

Python Programming Exercises: Narcissistic Numbers, Algorithms, and Common Coding Problems

This article presents a series of Python programming exercises covering topics such as Narcissistic numbers, four‑digit Armstrong numbers, string reversal, number guessing games, classic algorithms like bubble sort, binary search, recursion, palindrome detection, and many other fundamental coding challenges with complete code examples.

Programming ExercisesPythonfundamentals
0 likes · 33 min read
Python Programming Exercises: Narcissistic Numbers, Algorithms, and Common Coding Problems