Tagged articles
5000 articles
Page 37 of 50
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.

FrontendPythonRoadmap
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.

Data AnalysisMulti-IndexPython
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.

Best PracticesDebuggingPython
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.

Data AnalysisFrontendGo
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
Python Programming Learning Circle
Python Programming Learning Circle
Jan 24, 2022 · Fundamentals

Techniques to Exit Nested Loops in Python

This article explains several Python techniques—using identical break conditions, flag variables, exceptions, loop‑else clauses, and function returns—to exit nested loops, demonstrated through a prime‑number game where the program stops when a non‑prime input is entered.

Exception HandlingLoopsPython
0 likes · 6 min read
Techniques to Exit Nested Loops in Python
Architecture Digest
Architecture Digest
Jan 24, 2022 · Fundamentals

Understanding Python Threads, Processes, GIL, and the multiprocessing & concurrent.futures Modules

This article explains the fundamental differences between threads and processes, the role of Python's Global Interpreter Lock, and provides a comprehensive guide to using the multiprocessing and concurrent.futures modules—including their main classes, synchronization primitives, and practical code examples—for effective concurrent programming in Python.

ConcurrencyGILPython
0 likes · 40 min read
Understanding Python Threads, Processes, GIL, and the multiprocessing & concurrent.futures Modules
Python Crawling & Data Mining
Python Crawling & Data Mining
Jan 23, 2022 · Fundamentals

Master Pandas: From Data Loading to Advanced Manipulation

This comprehensive Pandas tutorial walks you through loading CSV and Excel files, creating Series and DataFrames, performing basic operations, cleaning data, handling missing values, working with hierarchical indexes, grouping, merging, concatenating, and applying time‑series techniques, all illustrated with clear code examples and screenshots.

Pythondata-cleaningdataframe
0 likes · 12 min read
Master Pandas: From Data Loading to Advanced Manipulation
Python Programming Learning Circle
Python Programming Learning Circle
Jan 21, 2022 · Fundamentals

Five Non‑Traditional Plotly Visualizations to Level Up Your Data Storytelling

This article introduces five advanced Plotly visualization techniques—including animated bar charts, scatter animations, sunburst diagrams, parallel categories, parallel coordinates, and gauge indicators—showcasing how to create dynamic, interactive graphics in Python to make data stories more compelling and insightful.

AnimationInteractive ChartsPython
0 likes · 9 min read
Five Non‑Traditional Plotly Visualizations to Level Up Your Data Storytelling
KooFE Frontend Team
KooFE Frontend Team
Jan 21, 2022 · Frontend Development

Why Playwright Is Becoming the Top Choice for Cross‑Browser UI Testing

Playwright, Microsoft’s open‑source end‑to‑end UI testing framework, supports all major browsers, multiple programming languages, isolated contexts, auto‑waiting, and powerful selectors, making it a fast‑growing alternative to Selenium for developers seeking reliable, cross‑browser automation.

JavaScriptPlaywrightPython
0 likes · 6 min read
Why Playwright Is Becoming the Top Choice for Cross‑Browser UI Testing
Programmer DD
Programmer DD
Jan 20, 2022 · Backend Development

Why FastAPI Is the Fastest Way to Build High‑Performance Python APIs

FastAPI is a high‑performance, easy‑to‑learn Python web framework that lets you build robust APIs quickly, offering features like speed, concise code, automatic validation, and OpenAPI compatibility, with simple installation via pip and interactive documentation out of the box.

ASGIBackend DevelopmentFastAPI
0 likes · 4 min read
Why FastAPI Is the Fastest Way to Build High‑Performance Python APIs
MaGe Linux Operations
MaGe Linux Operations
Jan 19, 2022 · Fundamentals

Master Python List Deletion: remove, pop, and del Explained

Learn how to delete elements from Python lists using three primary methods—remove for value-based removal, pop for index-based removal that returns the element, and del for deleting by index, range, or entire objects—complete with clear code examples and key usage notes.

ListPythonTutorial
0 likes · 4 min read
Master Python List Deletion: remove, pop, and del Explained
Python Programming Learning Circle
Python Programming Learning Circle
Jan 18, 2022 · Artificial Intelligence

Fashion MNIST Image Classification Using TensorFlow 2.x in Python

This tutorial demonstrates how to load the Fashion MNIST dataset, explore and preprocess the images, build and compile a neural network with TensorFlow 2.x, train the model, evaluate its accuracy, and use the trained model to make predictions on clothing images, providing complete Python code examples throughout.

Deep LearningFashion-MNISTImage Classification
0 likes · 16 min read
Fashion MNIST Image Classification Using TensorFlow 2.x in Python
MaGe Linux Operations
MaGe Linux Operations
Jan 17, 2022 · Frontend Development

Create Interactive Maps with pyecharts: A Step‑by‑Step Python Guide

This tutorial introduces pyecharts, the Python wrapper for Baidu's Echarts library, explains how it generates a render.html file, and provides complete code examples for drawing various map visualizations—including basic maps, maps without labels, visual‑mapped maps, world maps, and regional maps—while also showing how to replace the dummy data with your own dataset.

Data visualizationEChartsPyecharts
0 likes · 4 min read
Create Interactive Maps with pyecharts: A Step‑by‑Step Python Guide
Python Programming Learning Circle
Python Programming Learning Circle
Jan 17, 2022 · Fundamentals

Six Alternatives to Classes in Python

This article compares six Python alternatives to traditional classes—plain classes, tuples, dictionaries, named tuples, attrs, dataclasses, and Pydantic—examining their syntax, validation capabilities, mutability, string representation, JSON (de)serialization, memory usage, and performance to help developers choose the most suitable data‑modeling approach.

PydanticPythonalternatives
0 likes · 17 min read
Six Alternatives to Classes in Python
MaGe Linux Operations
MaGe Linux Operations
Jan 15, 2022 · Backend Development

Why Nuitka Beats PyInstaller: Faster, Smaller Python Executables

This article compares PyInstaller and Nuitka for turning Python projects into standalone executables, highlighting Nuitka's dramatically smaller file size, faster build times, and better performance while explaining installation steps, command‑line options, and how to handle third‑party dependencies.

CLIExecutableNuitka
0 likes · 6 min read
Why Nuitka Beats PyInstaller: Faster, Smaller Python Executables
Code DAO
Code DAO
Jan 15, 2022 · Artificial Intelligence

Improving Class Imbalance in Machine Learning with Class Weights: A Python Logistic Regression Walkthrough

The article demonstrates, with Python code, how applying class_weight—first using the default logistic regression, then the balanced option, and finally manually tuned weights via grid search—can raise the F1 score from 0 to about 0.16 on imbalanced data, and discusses further techniques such as feature engineering and threshold adjustment.

F1 scorePythonclass weight
0 likes · 7 min read
Improving Class Imbalance in Machine Learning with Class Weights: A Python Logistic Regression Walkthrough
Ctrip Technology
Ctrip Technology
Jan 13, 2022 · Mobile Development

Flybirds: An Open‑Source BDD UI Automation Framework for Mobile Testing

Flybirds is a BDD‑based, open‑source UI automation framework for mobile apps that provides a plug‑in architecture, CLI scaffolding, multilingual support, rich reporting, and seamless integration with CI pipelines, enabling developers to write natural‑language feature files and run them on Android and iOS devices.

BDDPythonUI automation
0 likes · 13 min read
Flybirds: An Open‑Source BDD UI Automation Framework for Mobile Testing
Python Programming Learning Circle
Python Programming Learning Circle
Jan 12, 2022 · Artificial Intelligence

Building a Streamlit Web Application for NLP Tasks: Sentiment Analysis, Entity Extraction, and Text Summarization

This tutorial demonstrates how to create a lightweight Streamlit web app in Python that lets users select and run common NLP services—sentiment analysis, named‑entity recognition, and text summarization—by integrating libraries such as TextBlob, spaCy, and Gensim, with clear code examples and visual output.

PythonStreamlitentity recognition
0 likes · 13 min read
Building a Streamlit Web Application for NLP Tasks: Sentiment Analysis, Entity Extraction, and Text Summarization
Python Programming Learning Circle
Python Programming Learning Circle
Jan 10, 2022 · Artificial Intelligence

Building a Siri‑Like Voice Chatbot with Python

This tutorial explains how to create a Siri‑style conversational robot in Python by configuring the environment, describing the speech‑recognition and chatbot principles, and showing the implementation that uses Baidu speech recognition and the Turing chatbot API.

AIChatbotPython
0 likes · 3 min read
Building a Siri‑Like Voice Chatbot with Python
MaGe Linux Operations
MaGe Linux Operations
Jan 9, 2022 · Big Data

How to Scrape Maoyan Movie Data and Visualize Trends with Python

This tutorial walks you through collecting movie information from Maoyan using Python web‑scraping, storing the results in CSV, and then applying pandas, matplotlib, and WordCloud to analyze and visualize trends such as release years, genres, regions, durations, and ratings across China and the world.

Movie DataPythonWeb Scraping
0 likes · 13 min read
How to Scrape Maoyan Movie Data and Visualize Trends with Python
Python Programming Learning Circle
Python Programming Learning Circle
Jan 8, 2022 · Fundamentals

Python Basics: Number Reversal, Docstrings, Encoding, String Rotation, Progress Bar, File Output, and List Merging

This article presents a series of Python fundamentals tutorials, covering number reversal, adding class docstrings, setting file encoding, rotating strings, implementing a console progress bar, redirecting print output to files, and merging two lists with sorting, each accompanied by concise code examples.

AlgorithmsCodeExamplesPython
0 likes · 6 min read
Python Basics: Number Reversal, Docstrings, Encoding, String Rotation, Progress Bar, File Output, and List Merging
dbaplus Community
dbaplus Community
Jan 8, 2022 · Artificial Intelligence

How Ctrip Streamlined ML Model Development and Deployment with MLOps

This article explains how Ctrip tackled the long, costly ML model development‑to‑deployment pipeline by adopting and extending MLflow for full lifecycle management, covering model persistence, tracking, serving, custom pyfunc models, Dockerized deployment, scaling, and performance monitoring.

DockerFastAPIMLOps
0 likes · 14 min read
How Ctrip Streamlined ML Model Development and Deployment with MLOps
Python Programming Learning Circle
Python Programming Learning Circle
Jan 7, 2022 · Fundamentals

Introduction to Python Decorators: Concepts, Principles, and Practical Examples

Python decorators are a powerful syntactic feature that allow functions, methods, or classes to be wrapped and extended, enabling reusable code for logging, caching, authentication, and more, with detailed explanations of their underlying principles, manual implementations, syntax sugar, and usage with classes and built‑in decorators.

DecoratorPythonTutorial
0 likes · 20 min read
Introduction to Python Decorators: Concepts, Principles, and Practical Examples
MaGe Linux Operations
MaGe Linux Operations
Jan 6, 2022 · Fundamentals

Why the Fastest Way to Loop in Python Is Not to Loop at All

This article compares Python's while and for loops, shows benchmark results revealing that for loops run faster due to fewer Python‑level operations, and demonstrates that using built‑in functions like sum or applying a mathematical formula can make looping dramatically faster, often eliminating the loop entirely.

Algorithm OptimizationBenchmarkPython
0 likes · 6 min read
Why the Fastest Way to Loop in Python Is Not to Loop at All
Python Programming Learning Circle
Python Programming Learning Circle
Jan 6, 2022 · Fundamentals

Creating Donut (Ring) Plots with Matplotlib in Python

This tutorial explains how to generate donut (ring) charts using Python's Matplotlib library, covering basic pie‑to‑donut conversion, custom colors, label positioning, background styling, annotation markers, and multi‑level donut visualizations with complete code examples.

Data visualizationDonut PlotMatplotlib
0 likes · 11 min read
Creating Donut (Ring) Plots with Matplotlib in Python
Python Programming Learning Circle
Python Programming Learning Circle
Jan 5, 2022 · Backend Development

Integrating Alipay Payment in Python Projects

This article explains why third‑party payment platforms like Alipay are used, describes Alipay's payment flow, outlines the configuration steps to obtain APPID and keys, and provides a complete Python implementation for integrating Alipay into backend services.

APIAlipayBackend
0 likes · 7 min read
Integrating Alipay Payment in Python Projects
Python Programming Learning Circle
Python Programming Learning Circle
Jan 4, 2022 · Fundamentals

Python Processes, Multiprocessing, Decorators, and List Fundamentals

This article introduces Python process concepts, including process creation with the multiprocessing module, process states, comparison with threads, and practical examples of creating, managing, and communicating with processes, followed by a comprehensive overview of Python list types, their structure, operations, and common usage patterns.

PythonThread Comparisondecorators
0 likes · 26 min read
Python Processes, Multiprocessing, Decorators, and List Fundamentals
MaGe Linux Operations
MaGe Linux Operations
Jan 3, 2022 · Backend Development

Build a Simple Arithmetic Interpreter in Python Using PLY

This article walks through creating a Python arithmetic interpreter with the PLY library, covering token definitions, lexer rules, BNF grammar, parser implementation, operator precedence, and a runnable REPL, providing complete code and explanations for each step.

BNFPLYPython
0 likes · 9 min read
Build a Simple Arithmetic Interpreter in Python Using PLY
Python Programming Learning Circle
Python Programming Learning Circle
Jan 3, 2022 · Fundamentals

Python Gotchas, C/C++ Migration Tips, and Handy Utilities

This article presents a collection of Python pitfalls such as random sampling, lambda binding, copying, equality vs identity, and type checks, followed by a concise guide for C/C++ programmers transitioning to Python, and showcases useful tools like CSV handling, itertools, collections, and performance‑debugging techniques.

Code ExamplesPythonStandard Library
0 likes · 17 min read
Python Gotchas, C/C++ Migration Tips, and Handy Utilities
MaGe Linux Operations
MaGe Linux Operations
Jan 1, 2022 · Backend Development

Mastering Asynchronous Programming: From Sync/Async Basics to I/O Models

This article explains the differences between synchronous and asynchronous execution, explores various I/O programming models—including blocking, non‑blocking, multiplexed, signal‑driven, and asynchronous I/O—and describes how event‑driven architectures apply these concepts in server‑side development.

Event-drivenI/O ModelsPython
0 likes · 12 min read
Mastering Asynchronous Programming: From Sync/Async Basics to I/O Models
Code DAO
Code DAO
Jan 1, 2022 · Artificial Intelligence

Automating Machine Learning Workflows with Scikit‑Learn Pipelines

This article demonstrates how to build a reproducible fraud‑detection workflow using scikit‑learn's Pipeline class, comparing a manual script with a pipeline‑based approach on the IEEE‑CIS Kaggle dataset and showing the benefits of modular, repeatable ML code.

Pythonfraud detectionmachine learning
0 likes · 8 min read
Automating Machine Learning Workflows with Scikit‑Learn Pipelines
MaGe Linux Operations
MaGe Linux Operations
Dec 30, 2021 · Backend Development

Download Watermark‑Free Douyin Videos with a Simple Python Script

This article explains a streamlined method to extract and download watermark‑free Douyin short videos by inspecting network requests, locating hidden video URLs, and using a concise Python script with the jsonpath library, highlighting its advantages and remaining limitations.

DouyinJsonPathPython
0 likes · 5 min read
Download Watermark‑Free Douyin Videos with a Simple Python Script
21CTO
21CTO
Dec 29, 2021 · Fundamentals

Top 10 Python Tools & Libraries to Boost Your 2022 Development Skills

Discover the essential Python tools, IDEs, and libraries for 2022—including PyCharm, Jupyter Notebook, Keras, pip, Scikit‑Learn, Sphinx, Selenium, and Beautiful Soup—to enhance productivity, streamline coding, and empower developers across web, data science, and AI projects.

IDEPythondata-science
0 likes · 9 min read
Top 10 Python Tools & Libraries to Boost Your 2022 Development Skills
Code DAO
Code DAO
Dec 29, 2021 · Artificial Intelligence

Inside Optuna: How Its Core Components Enable Hyper‑Parameter Optimization

This article dissects Optuna’s internal design by building three miniature versions (Minituna v1‑v3) that illustrate its main components, storage layer, sampling APIs, pruning mechanisms, and joint‑sampling concepts, while comparing them with Optuna’s full implementation.

MinitunaOptunaPython
0 likes · 24 min read
Inside Optuna: How Its Core Components Enable Hyper‑Parameter Optimization
Python Crawling & Data Mining
Python Crawling & Data Mining
Dec 28, 2021 · Backend Development

Master Selenium with Python: From Installation to Advanced Browser Automation

This comprehensive tutorial walks you through installing Selenium and ChromeDriver, initializing browsers (including headless mode), navigating pages, locating elements using various strategies, interacting with forms, handling multiple windows, performing mouse and keyboard actions, implementing explicit and implicit waits, executing JavaScript, and managing cookies for robust web automation and scraping.

Pythonbrowser testingweb automation
0 likes · 27 min read
Master Selenium with Python: From Installation to Advanced Browser Automation
IT Architects Alliance
IT Architects Alliance
Dec 28, 2021 · Fundamentals

Mastering QR Codes: Theory, Encoding, Decoding, and Python Implementation

This comprehensive guide explains QR code fundamentals—including their structure, versions, error‑correction levels, and data capacity—details the full encoding pipeline from requirement analysis to matrix construction, outlines the decoding steps, explores commercial use cases, and provides practical Python examples using python‑qrcode, Amazing‑QR, and Zxing.

EncodingError CorrectionPython
0 likes · 22 min read
Mastering QR Codes: Theory, Encoding, Decoding, and Python Implementation
21CTO
21CTO
Dec 27, 2021 · Artificial Intelligence

Top 10 Python Machine Learning Libraries You Must Try in 2021

This article reviews the ten most notable Python libraries for machine learning in 2021, covering tools for handling nested data, notebook versioning, lightweight model demos, data management, multimodal augmentation, model monitoring, object detection, fast inference, time‑series forecasting, and neural search.

AIPythonlibraries
0 likes · 9 min read
Top 10 Python Machine Learning Libraries You Must Try in 2021
Python Programming Learning Circle
Python Programming Learning Circle
Dec 22, 2021 · Fundamentals

Python Best Practices: Reducing Numeric Literals, Using Enums, and Writing Cleaner Code

This article presents practical Python best‑practice guidelines, including avoiding hard‑coded numeric literals by using enums, limiting raw string manipulation in favor of object‑oriented query building, keeping literal expressions readable, and applying useful tips such as treating booleans as numbers, handling long strings, using infinity constants, and understanding thread‑safety and string‑concatenation performance.

Best PracticesEnumPython
0 likes · 16 min read
Python Best Practices: Reducing Numeric Literals, Using Enums, and Writing Cleaner Code
Python Programming Learning Circle
Python Programming Learning Circle
Dec 21, 2021 · Artificial Intelligence

Introduction to CatBoost: Features, Advantages, and Practical Implementation

This article introduces CatBoost, outlines its key advantages such as automatic handling of categorical features, symmetric trees, and feature combination, and provides a step‑by‑step Python tutorial—including data preparation, model training, visualization, and feature importance analysis—using a CTR prediction dataset.

CatBoostFeature EngineeringPython
0 likes · 5 min read
Introduction to CatBoost: Features, Advantages, and Practical Implementation
Python Programming Learning Circle
Python Programming Learning Circle
Dec 21, 2021 · Fundamentals

Finding Lucky Numbers in a List Using Python: Step‑by‑Step with map, zip, filter and a One‑Liner

This tutorial explains how to solve the LeetCode "Lucky Numbers in a List" problem in Python by extracting unique elements, counting their occurrences with map and count, pairing them with zip, filtering with lambda, sorting the result, and finally compressing the whole logic into a single expressive line of code.

LambdaListMAP
0 likes · 8 min read
Finding Lucky Numbers in a List Using Python: Step‑by‑Step with map, zip, filter and a One‑Liner