Tagged articles
5000 articles
Page 36 of 50
IT Services Circle
IT Services Circle
Mar 24, 2022 · Fundamentals

Comprehensive Guide to Python Time Handling with calendar, time, and datetime Modules

This article provides a detailed tutorial on Python's time‑related classes and functions, covering Unix timestamps, conversion tools, and the practical use of the calendar, time, and datetime modules with examples of formatting, timezone conversion, and common time‑conversion tricks for everyday programming tasks.

CalendarPythondate-time conversion
0 likes · 18 min read
Comprehensive Guide to Python Time Handling with calendar, time, and datetime Modules
DeWu Technology
DeWu Technology
Mar 23, 2022 · Databases

Introduction to ORM and Peewee Usage in Python

The article explains how ORM bridges Python objects and relational databases, compares options, and justifies choosing the lightweight Peewee library, then details its workflow—model generation, inserting, updating, deleting, and querying records—showcasing how this approach reduces manual data‑creation time from hours to seconds.

DatabaseDjangoPeewee
0 likes · 9 min read
Introduction to ORM and Peewee Usage in Python
IT Services Circle
IT Services Circle
Mar 23, 2022 · Artificial Intelligence

Local Outlier Factor (LOF) Algorithm: Theory, Workflow, Pros & Cons, and Python Implementation

This article introduces the classic density‑based anomaly detection method Local Outlier Factor (LOF), explains its underlying concepts such as k‑distance, reachability distance, and local reachability density, outlines the algorithm steps, discusses its advantages and limitations, and provides practical Python examples using PyOD and scikit‑learn.

Anomaly DetectionLOFPython
0 likes · 10 min read
Local Outlier Factor (LOF) Algorithm: Theory, Workflow, Pros & Cons, and Python Implementation
HomeTech
HomeTech
Mar 22, 2022 · Cloud Computing

AutoPPT System Architecture and Data-Driven PPT Generation

This article explores the AutoPPT system that automates PowerPoint presentation creation by integrating real-time data analysis, reducing manual effort, and enhancing efficiency through a structured workflow from data collection to final output.

AutoPPTEfficiencyJava
0 likes · 10 min read
AutoPPT System Architecture and Data-Driven PPT Generation
Python Programming Learning Circle
Python Programming Learning Circle
Mar 21, 2022 · Fundamentals

Getting Started with Python's Turtle Graphics

This article introduces Python's turtle module, explains how to import it, configure the pen's speed, color, size, and use drawing functions such as forward, left, right, circle, dot, and goto, and provides several complete code examples for creating simple graphics.

BeginnerGraphicsPython
0 likes · 4 min read
Getting Started with Python's Turtle Graphics
FunTester
FunTester
Mar 20, 2022 · Fundamentals

Why Your Selenium Tests Fail: Common Pitfalls and How to Fix Them

This article walks through three frequent Selenium‑Python automation problems—missing test discovery due to method naming, incorrect URLs that break page data loading, and element‑location failures after window switches—explaining their causes and step‑by‑step solutions.

DebuggingPythonSelenium
0 likes · 7 min read
Why Your Selenium Tests Fail: Common Pitfalls and How to Fix Them
Python Programming Learning Circle
Python Programming Learning Circle
Mar 19, 2022 · Artificial Intelligence

Building a Simple Digital Twin for Lithium‑Ion Batteries Using Python and Neural Networks

The article demonstrates how to build a digital twin for lithium‑ion batteries in Python by constructing a physics‑based model, augmenting it with experimental data using a simple Keras neural network, and visualizing predictions, illustrating the hybrid approach’s improved accuracy over purely empirical methods.

Digital TwinKerasNeural Network
0 likes · 9 min read
Building a Simple Digital Twin for Lithium‑Ion Batteries Using Python and Neural Networks
Python Programming Learning Circle
Python Programming Learning Circle
Mar 17, 2022 · Fundamentals

Understanding the self Parameter in Python Classes

This article explains the purpose of the self parameter in Python classes, using analogies and concrete code examples to show how self represents the instance itself, how it is passed automatically, and how different objects produce distinct self values when methods are invoked.

ClassInstanceOOP
0 likes · 5 min read
Understanding the self Parameter in Python Classes
Python Programming Learning Circle
Python Programming Learning Circle
Mar 17, 2022 · Fundamentals

Comprehensive Overview of Common Sorting Algorithms with Python Implementations

This article provides a detailed introduction to internal and external sorting, compares the time‑complexities and stability of classic algorithms such as bubble, selection, insertion, shell, merge, quick, heap, counting, bucket and radix sorts, and includes complete Python code examples for each.

Data StructuresPythonSorting Algorithms
0 likes · 20 min read
Comprehensive Overview of Common Sorting Algorithms with Python Implementations
IT Services Circle
IT Services Circle
Mar 17, 2022 · Fundamentals

Understanding the __init__ Constructor Method in Python

This article explains the purpose and behavior of Python's __init__ constructor method, clarifies object-oriented concepts such as classes, instances, and attributes, and provides example code illustrating how __init__ is automatically invoked during object creation to initialize instance properties.

ConstructorOOPPython
0 likes · 4 min read
Understanding the __init__ Constructor Method in Python
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 PatternsEnum
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.

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

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

Low‑codeModel ExplainabilityPython
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 ModulesPythonautomation
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.

PythonTIOBE Indexlanguage popularity
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 testingBackend DevelopmentData Migration
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.

Best PracticesCode ReviewPython
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.

Best PracticesPythonTips
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 FeaturesFunctionsPython
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