Tagged articles
5000 articles
Page 36 of 50
ELab Team
ELab Team
Mar 16, 2022 · Artificial Intelligence

Reverse Dictionary Made Easy: Harness WantWords and Hugging Face for Quick NLP Model Integration

This article introduces the open‑source WantWords reverse‑dictionary project, explains its token‑based processing pipeline, walks through Python implementation and model invocation with Hugging Face’s Transformers, reviews NLP’s historical evolution, and shows how front‑end developers can quickly integrate NLP models into products.

Artificial IntelligenceBERTHugging Face
0 likes · 13 min read
Reverse Dictionary Made Easy: Harness WantWords and Hugging Face for Quick NLP Model Integration
IT Architects Alliance
IT Architects Alliance
Mar 14, 2022 · Backend Development

Design Document: Automated Gym Reservation Bot Using Selenium and Python

This article presents a detailed engineering design document for a Python‑based automation tool that uses Selenium to reserve gym slots during the COVID‑19 pandemic, covering problem description, requirements, overview and detailed design, implementation specifics, and operational workflow.

Gym BookingPythonSelenium
0 likes · 10 min read
Design Document: Automated Gym Reservation Bot Using Selenium and Python
IT Services Circle
IT Services Circle
Mar 13, 2022 · Fundamentals

Using Folium for Interactive Map Visualization in Python

This article introduces the Python library Folium, explains its installation, demonstrates basic map creation, marker and shape addition, and presents a practical case of visualizing parking lot geolocation data with interactive features and clustering, providing code snippets and usage guidance.

Data visualizationFoliumMapping
0 likes · 12 min read
Using Folium for Interactive Map Visualization in Python
MaGe Linux Operations
MaGe Linux Operations
Mar 11, 2022 · Fundamentals

Unlock Python from Scratch: A Complete Zero‑to‑Hero Tutorial

This post announces a free, beginner‑friendly Python tutorial that covers everything from installation and basic syntax to advanced topics like decorators and serialization, providing a detailed curriculum, video links, and downloadable courseware to help learners start coding without any prior experience.

CurriculumPythonbeginner tutorial
0 likes · 5 min read
Unlock Python from Scratch: A Complete Zero‑to‑Hero Tutorial
Python Programming Learning Circle
Python Programming Learning Circle
Mar 11, 2022 · Fundamentals

Refactoring a Python Employee Management System to Eliminate Code Smells

This article explains common Python code smells in an employee‑management example, demonstrates why practices such as using raw strings for roles, duplicated search methods, excessive isinstance checks, and vague boolean flags are problematic, and provides a step‑by‑step refactor using Enums, abstract base classes, list comprehensions, custom exceptions, and clearer method separation.

Abstract Base ClassDesign PatternsPython
0 likes · 14 min read
Refactoring a Python Employee Management System to Eliminate Code Smells
IT Services Circle
IT Services Circle
Mar 11, 2022 · Fundamentals

Comprehensive Guide to Plotnine: Installation, Data, Aesthetics, Geoms, Stats, Scales, Positions, Coordinates, Facets, and Themes

This article provides a detailed tutorial on plotnine, the Python implementation of the Grammar of Graphics, covering installation methods, data handling, aesthetic mappings, geometric objects, statistical transformations, scales, position adjustments, coordinate systems, faceting, themes, and multi‑panel plotting with code examples.

Data visualizationGrammar of GraphicsPython
0 likes · 8 min read
Comprehensive Guide to Plotnine: Installation, Data, Aesthetics, Geoms, Stats, Scales, Positions, Coordinates, Facets, and Themes
Liangxu Linux
Liangxu Linux
Mar 8, 2022 · Operations

Replacing Unstable Shell RPM Checks with Python’s rpm‑python Library

The article explains why a fragile Shell script for comparing local RPM packages to a central repository was rewritten in Python using the rpm‑python library, demonstrates how to install and import the library, and showcases practical code examples for querying both installed and offline RPM packages.

PythonRPMautomation
0 likes · 6 min read
Replacing Unstable Shell RPM Checks with Python’s rpm‑python Library
IT Services Circle
IT Services Circle
Mar 7, 2022 · Big Data

Awesome Web Scraping – A Comprehensive Chinese Collection of Web Scraping Resources

This article introduces the renowned "awesome" GitHub repository, highlights its extensive sub‑lists for various domains, focuses on the awesome‑web‑scraping collection, and presents a newly created Chinese version that aggregates Python, JavaScript, Go, and other language‑specific web‑scraping tools and libraries.

Awesome ListData ExtractionGitHub
0 likes · 4 min read
Awesome Web Scraping – A Comprehensive Chinese Collection of Web Scraping Resources
MaGe Linux Operations
MaGe Linux Operations
Mar 4, 2022 · Backend Development

How to Build a Local QR‑Code Login Scraper for QQ Music with Python

This tutorial walks through creating a Python‑based local QR‑code login scraper for QQ Music, covering the extraction of dynamic parameters, handling of encrypted cookies, displaying and removing QR images, and ultimately obtaining a usable session for further automation.

Login AutomationPythonQR code
0 likes · 15 min read
How to Build a Local QR‑Code Login Scraper for QQ Music with Python
Python Programming Learning Circle
Python Programming Learning Circle
Mar 4, 2022 · Big Data

Introduction to NumPy and Pandas: Fundamentals, Operations, and Data Handling in Python

This article provides a comprehensive overview of NumPy and pandas, covering ndarray basics, multi‑dimensional array creation, core array attributes, broadcasting, random number generation, reshaping, as well as pandas Series and DataFrame structures, data import/export, grouping, merging, and advanced data manipulation techniques for scientific and data‑analysis tasks.

Array OperationsDataFramesNumPy
0 likes · 17 min read
Introduction to NumPy and Pandas: Fundamentals, Operations, and Data Handling in Python
MaGe Linux Operations
MaGe Linux Operations
Mar 3, 2022 · Fundamentals

Create Stunning Chinese Spring Couplets with Python in 70 Lines

Learn how to generate traditional Chinese spring couplets as decorative images using a concise Python script—covering required modules, character image retrieval, background handling, layout generation, and sample outputs—with clear code snippets and usage examples.

Chinese CalligraphyPILPython
0 likes · 6 min read
Create Stunning Chinese Spring Couplets with Python in 70 Lines
Python Crawling & Data Mining
Python Crawling & Data Mining
Mar 3, 2022 · Fundamentals

5 Clever Python Ways to Compute 1‑2+3‑4+…+99

This article presents a Python fan's arithmetic challenge—calculating the alternating sum 1‑2+3‑4+…+99—and walks through five distinct code solutions, from basic loops to concise itertools one‑liners, highlighting their logic and trade‑offs.

Code ExampleLoopsPython
0 likes · 5 min read
5 Clever Python Ways to Compute 1‑2+3‑4+…+99
Sohu Tech Products
Sohu Tech Products
Mar 2, 2022 · Backend Development

Using requests‑cache to Cache HTTP Requests in Python Web Scraping

This article introduces the requests‑cache library, explains how to install it, demonstrates basic and advanced usage—including session patching, backend selection, expiration policies, request/response filtering, and cache‑control header handling—to efficiently avoid duplicate HTTP requests during Python web scraping.

HTTPPythonWeb Scraping
0 likes · 11 min read
Using requests‑cache to Cache HTTP Requests in Python Web Scraping
IT Services Circle
IT Services Circle
Mar 2, 2022 · Artificial Intelligence

Curated Open‑Source Face Recognition Projects Overview

This article presents a curated collection of open‑source face recognition projects—including OpenFace, face_recognition, InsightFace, RetinaFace, SCRFD, FaceNet, Deepface, and CompreFace—detailing their features, GitHub stars, usage examples, and code snippets for Python and TensorFlow implementations.

Artificial IntelligenceDeep LearningPython
0 likes · 5 min read
Curated Open‑Source Face Recognition Projects Overview
Python Crawling & Data Mining
Python Crawling & Data Mining
Mar 2, 2022 · Fundamentals

How to Compute Algebraic Functions in Python: Two Practical Methods

This article walks through a Python fan's question about implementing algebraic functions, presenting two solutions—one using basic arithmetic operators and another leveraging the sympy library—complete with code snippets, explanations, and visual illustrations to help beginners understand the approach.

Code ExamplePythonalgebraic-functions
0 likes · 4 min read
How to Compute Algebraic Functions in Python: Two Practical Methods
Python Programming Learning Circle
Python Programming Learning Circle
Feb 28, 2022 · Artificial Intelligence

Time Series Data Preprocessing: Missing Value Imputation, Denoising, and Outlier Detection

This article explains essential time series preprocessing techniques—including data sorting, handling missing values with interpolation methods, applying rolling averages, Fourier transform denoising, and detecting anomalies using rolling statistics, isolation forests, and K‑means clustering—illustrated with Python code on the AirPassengers and Google stock datasets.

DenoisingPythonTime Series
0 likes · 9 min read
Time Series Data Preprocessing: Missing Value Imputation, Denoising, and Outlier Detection
Python Programming Learning Circle
Python Programming Learning Circle
Feb 26, 2022 · Mobile Development

Automating Onmyoji Game Tasks with Python, ADB, and OpenCV

This tutorial explains how to use Python, ADB commands, OpenCV image recognition, and Tencent OCR to automate weekly tasks in the Onmyoji mobile game, including boss battles, realm breakthroughs, and resource farming, while handling multi‑instance switching and random delays for stability.

ADBMobile GamingOpenCV
0 likes · 7 min read
Automating Onmyoji Game Tasks with Python, ADB, and OpenCV
Python Programming Learning Circle
Python Programming Learning Circle
Feb 26, 2022 · Game Development

Python Fruit Ninja Game Tutorial with Pygame

This tutorial walks through building a simple Fruit Ninja‑style game in Python using Pygame, covering imports, window setup, random fruit generation, drawing text and lives, handling game over screens, and implementing the main loop with event processing and scoring.

Fruit NinjaGame DevelopmentPygame
0 likes · 6 min read
Python Fruit Ninja Game Tutorial with Pygame
Python Programming Learning Circle
Python Programming Learning Circle
Feb 25, 2022 · Fundamentals

Common Python Errors and Practical Tips for Beginners

The article shares practical Python programming lessons, covering indentation errors, syntax differences between Python 2 and 3, multithreading pitfalls, the importance of planning code logic, leveraging built‑in functions, and focusing on clear objectives to write efficient, maintainable scripts.

PythonTipsbest practices
0 likes · 6 min read
Common Python Errors and Practical Tips for Beginners
Python Programming Learning Circle
Python Programming Learning Circle
Feb 23, 2022 · Artificial Intelligence

A Survey of Python Libraries for Hyperparameter Optimization, Feature Selection, Model Explainability, and Rapid Machine Learning Development

This article introduces several Python libraries—including Optuna, ITMO_FS, shap‑hypertune, PyCaret, floWeaver, Gradio, Terality, and torch‑handle—that simplify hyperparameter tuning, feature selection, model explainability, visualization, and low‑code ML workflows, providing code examples and key advantages for each tool.

Model ExplainabilityPythonfeature selection
0 likes · 10 min read
A Survey of Python Libraries for Hyperparameter Optimization, Feature Selection, Model Explainability, and Rapid Machine Learning Development
Python Programming Learning Circle
Python Programming Learning Circle
Feb 21, 2022 · Fundamentals

Eight No‑Code Features in Python: Using Built‑in Modules via the CLI

This article demonstrates eight practical ways to leverage Python's built‑in modules directly from the command line—such as testing ports, launching a web server, formatting JSON, creating a simple editor, building executable archives, encoding/decoding data, retrieving system metadata, and compressing files—without writing any Python code.

Built-in ModulesNo-codePython
0 likes · 10 min read
Eight No‑Code Features in Python: Using Built‑in Modules via the CLI
IT Services Circle
IT Services Circle
Feb 20, 2022 · Fundamentals

Using trypackage: A Command-Line Tool for Quick Python Package Trials

The article introduces trypackage, a lightweight Python CLI utility that automatically creates a temporary virtual environment, installs a specified package, launches an interactive shell with the package pre‑imported, and offers various options for Python version, shell type, persistence, and configuration.

CLIPythonpackage testing
0 likes · 6 min read
Using trypackage: A Command-Line Tool for Quick Python Package Trials
Python Programming Learning Circle
Python Programming Learning Circle
Feb 19, 2022 · Fundamentals

A Guide to Sorting Algorithms in Python

This article introduces four fundamental sorting algorithms—bubble sort, insertion sort, merge sort, and quick sort—explaining their concepts, step‑by‑step operations, and providing complete Python implementations to help readers understand and apply these techniques effectively.

PythonQuick SortSorting Algorithms
0 likes · 8 min read
A Guide to Sorting Algorithms in Python
Python Programming Learning Circle
Python Programming Learning Circle
Feb 19, 2022 · Fundamentals

Essential Modern Python Features: Type Hints, Virtual Environments, New Syntax, and Testing

This article outlines four key areas for modern Python development—type hinting, virtual environment and package management tools, recent syntax enhancements like pattern matching and the walrus operator, and testing frameworks—providing practical guidance for writing robust, up‑to‑date Python code.

Pythonnew syntaxtesting
0 likes · 6 min read
Essential Modern Python Features: Type Hints, Virtual Environments, New Syntax, and Testing
MaGe Linux Operations
MaGe Linux Operations
Feb 18, 2022 · Fundamentals

Why Python Leads the 2023 TIOBE Index and What the Rankings Reveal

The February TIOBE Programming Community Index shows Python reclaiming the top spot for the fifth time, highlights a shift from Alexa to Similarweb for data collection, and provides detailed rankings and trends for the top 100 programming languages, offering developers insight into language popularity and future considerations.

PythonSoftware DevelopmentTIOBE Index
0 likes · 5 min read
Why Python Leads the 2023 TIOBE Index and What the Rankings Reveal
Python Programming Learning Circle
Python Programming Learning Circle
Feb 18, 2022 · Game Development

Python Game Development Code Collection

This article presents a collection of thirteen Python game development examples, each with a brief description, gameplay illustration, and complete source code using libraries such as pygame and PyQt5, covering games like coin collector, ping‑pong, skiing, space shooter, whack‑a‑mole, dinosaur runner, match‑3, Tetris, snake, 24‑point puzzle, balance beam, alien invasion, and tic‑tac‑toe.

Code SamplesGame DevelopmentPygame
0 likes · 39 min read
Python Game Development Code Collection
转转QA
转转QA
Feb 17, 2022 · Backend Development

Building a Generic API Diff Tool for System Refactoring and Data Migration Testing

This article describes how a Python‑based diff utility was created to compare old and new API responses during a promotion change‑record migration, detailing its implementation, handling of JSON structures, improvements over the first version, and plans for integration with an API testing platform.

API testingData MigrationJSON
0 likes · 8 min read
Building a Generic API Diff Tool for System Refactoring and Data Migration Testing
Python Programming Learning Circle
Python Programming Learning Circle
Feb 16, 2022 · Game Development

Python Ski Game Development with Pygame

This article introduces a complete Python ski game built with Pygame, explaining the game mechanics, displaying screenshots of the interface and animation, and providing the full source code along with required image assets for readers to understand and recreate the project.

Game DevelopmentPygamePython
0 likes · 9 min read
Python Ski Game Development with Pygame
IT Services Circle
IT Services Circle
Feb 16, 2022 · Information Security

10 Unknown Security Pitfalls for Python

This article outlines ten lesser‑known Python security pitfalls—from optimized‑away asserts and directory permission quirks to path traversal, regex misuse, Unicode normalization attacks, and IP address normalization—illustrating how subtle language features can lead to serious vulnerabilities in real‑world applications.

Code reviewPythonbest practices
0 likes · 16 min read
10 Unknown Security Pitfalls for Python
Python Programming Learning Circle
Python Programming Learning Circle
Feb 15, 2022 · Fundamentals

Python Operator Precedence and Associativity

The article explains how Python determines the order of evaluation for multiple operators by using precedence rules and associativity, lists the full precedence table, illustrates left‑ and right‑associative operators with examples, and offers best‑practice tips for writing clear expressions.

AssociativityOperator PrecedencePython
0 likes · 4 min read
Python Operator Precedence and Associativity
Python Programming Learning Circle
Python Programming Learning Circle
Feb 14, 2022 · Fundamentals

Python List vs Set: Performance Comparison and Underlying Implementation Details

This article compares the lookup speed of Python lists and sets on large datasets, presents benchmark code and results, and explains why sets are dramatically faster by examining the internal C‑level implementations of list (dynamic array) and set/dict (hash table) including resizing rules and collision‑resolution strategies.

Data StructuresListPython
0 likes · 13 min read
Python List vs Set: Performance Comparison and Underlying Implementation Details
Python Programming Learning Circle
Python Programming Learning Circle
Feb 12, 2022 · Fundamentals

Essential Python Tricks for Efficient Coding

This article presents a collection of practical Python tricks, covering efficient input handling, condition evaluation with all/any, odd‑even checks, variable swapping, palindrome detection, inline conditional expressions, duplicate removal, frequency analysis, list comprehensions, flexible argument passing, enumeration, string joining, dictionary merging, sorting, and pretty‑printing, each illustrated with clear code examples.

PythonTipsbest practices
0 likes · 10 min read
Essential Python Tricks for Efficient Coding
Python Programming Learning Circle
Python Programming Learning Circle
Feb 11, 2022 · Fundamentals

Lesser‑Known but Useful Python Functions and Features

This article introduces a collection of practical yet under‑utilized Python capabilities—including arbitrary‑argument functions, file searching with glob, debugging with inspect, unique ID generation, hashing, serialization, compression, and atexit shutdown hooks—providing code examples and explanations for each.

Advanced FeaturesPythonfunctions
0 likes · 10 min read
Lesser‑Known but Useful Python Functions and Features
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 10, 2022 · Artificial Intelligence

Simple Music Recommendation System: Audio‑Feature and Playlist‑Based Approaches

This article presents two straightforward music recommendation methods—content‑based filtering using audio features and collaborative filtering using playlist data—detailing their design ideas, key Python and Go code snippets, model training, evaluation, and possible improvements.

Pythonaudio feature extractioncollaborative filtering
0 likes · 13 min read
Simple Music Recommendation System: Audio‑Feature and Playlist‑Based Approaches
MaGe Linux Operations
MaGe Linux Operations
Feb 8, 2022 · Backend Development

Automate Qutoutiao Short Video Uploads with Python & Selenium

This tutorial demonstrates how to use Python and Selenium to automatically log in, upload videos and cover images, set titles, descriptions, tags, and publish short videos on the Qutoutiao platform, providing complete source code and step‑by‑step instructions.

PythonQutoutiaoSelenium
0 likes · 7 min read
Automate Qutoutiao Short Video Uploads with Python & Selenium
IT Services Circle
IT Services Circle
Feb 7, 2022 · Fundamentals

Six Trending Open‑Source Projects Recommended for Developers

This article introduces six popular open‑source projects—including a Chinese web developer roadmap, a Rust‑based drawing app, a JSON‑driven low‑code backend framework, a Tencent live‑stream low‑code solution, a Python Faker library, and the Datart data‑visualization platform—providing brief descriptions and repository links for each.

PythonRoadmapRust
0 likes · 5 min read
Six Trending Open‑Source Projects Recommended for Developers
Python Crawling & Data Mining
Python Crawling & Data Mining
Feb 7, 2022 · Fundamentals

Mastering Multi‑Index Lookups in pandas: Practical Tips

This article explains how to retrieve specific values from a pandas DataFrame with a MultiIndex by resetting the index, using query, chaining .loc calls, tuple indexing, and swapping index levels, providing clear code examples and useful tips for efficient data extraction.

Multi-IndexPythondata analysis
0 likes · 5 min read
Mastering Multi‑Index Lookups in pandas: Practical Tips
MaGe Linux Operations
MaGe Linux Operations
Feb 6, 2022 · Fundamentals

Avoid Common Python Pitfalls: A Practical Guide for C/C++ Migrants

This guide explains frequently confused Python operations, compares Python idioms with C/C++ conventions, introduces essential standard‑library tools, and offers performance‑oriented debugging techniques to help developers write cleaner, faster, and more reliable Python code.

PythonStandard Librarybest practices
0 likes · 16 min read
Avoid Common Python Pitfalls: A Practical Guide for C/C++ Migrants
Python Crawling & Data Mining
Python Crawling & Data Mining
Feb 6, 2022 · Fundamentals

How to Insert One PDF into Another Using PyPDF2 in Python

This article walks through a practical Python solution for inserting one PDF into another using the PyPDF2 library, covering three possible strategies, selecting the simplest page‑by‑page method, providing installation instructions, and presenting complete example code with explanations.

File ProcessingPDF manipulationPyPDF2
0 likes · 4 min read
How to Insert One PDF into Another Using PyPDF2 in Python
MaGe Linux Operations
MaGe Linux Operations
Feb 5, 2022 · Fundamentals

Master Modern Python: Type Hints, Virtual Envs, New Syntax & Testing

This article outlines four essential modern Python concepts—type hinting, virtual environment and package management tools, recent syntax enhancements such as pattern matching and the walrus operator, and advanced testing frameworks—providing developers with the knowledge needed to write clean, efficient code in 2022 and beyond.

Pythonnew syntaxpytest
0 likes · 6 min read
Master Modern Python: Type Hints, Virtual Envs, New Syntax & Testing
MaGe Linux Operations
MaGe Linux Operations
Feb 3, 2022 · Fundamentals

Create Stunning Images with Just 10 Lines of NumPy Code

Learn how to generate grayscale, random color, gradient, and custom visualizations using only NumPy (and optional Matplotlib ColorMaps) with concise Python code, covering array creation, image conversion, pixel manipulation, and advanced colormap techniques for powerful data art.

ColorMapData visualizationNumPy
0 likes · 12 min read
Create Stunning Images with Just 10 Lines of NumPy Code
Sohu Tech Products
Sohu Tech Products
Feb 2, 2022 · Information Security

Command2API: Exposing Command Execution Results via HTTP API with Python

This article introduces the open‑source Command2API tool, explains its origin in internal security testing, describes its simple Python‑based architecture that runs commands in a thread and serves results through an HTTP API, provides usage examples, examines the source code, and suggests possible improvements.

Command ExecutionHTTP APIPython
0 likes · 6 min read
Command2API: Exposing Command Execution Results via HTTP API with Python
IT Services Circle
IT Services Circle
Feb 1, 2022 · Fundamentals

Comprehensive Guide to Recommended Programming Videos and Resources for Python, Go, Frontend, and Data Analysis

This article curates a wide range of high‑quality video tutorials, books, and online resources covering Python fundamentals, web crawling, data analysis, machine learning, Go language development, and front‑end technologies, offering practical recommendations and rating scores to help learners choose suitable study material.

GoLearning ResourcesPython
0 likes · 12 min read
Comprehensive Guide to Recommended Programming Videos and Resources for Python, Go, Frontend, and Data Analysis
MaGe Linux Operations
MaGe Linux Operations
Jan 29, 2022 · Fundamentals

Master Python’s Powerful Containers: Counter, defaultdict, OrderedDict, deque & ChainMap

This article introduces Python’s collections module as a versatile alternative to built‑in containers, detailing the purpose, key methods, and practical code examples for Counter, defaultdict, OrderedDict, namedtuple, deque, and ChainMap, helping developers choose the right specialized container for their tasks.

ChainMapCollectionsCounter
0 likes · 11 min read
Master Python’s Powerful Containers: Counter, defaultdict, OrderedDict, deque & ChainMap
Python Programming Learning Circle
Python Programming Learning Circle
Jan 25, 2022 · Fundamentals

Generating Chinese Spring Festival Couplets with Python

This article demonstrates how to use Python and the Pillow library to download character glyphs, create background images, and programmatically generate Chinese Spring Festival couplets in both vertical and horizontal layouts, providing complete source code and sample outputs.

Chinese CalligraphyCoupletsPython
0 likes · 6 min read
Generating Chinese Spring Festival Couplets with Python