Tagged articles
5000 articles
Page 38 of 50
Python Programming Learning Circle
Python Programming Learning Circle
Dec 10, 2021 · Fundamentals

Python Programming Exercises: Sorting, Math, File Operations, and More

This article presents a comprehensive collection of over thirty Python programming exercises covering basic algorithms such as bubble sort, mathematical computations, string manipulation, file system operations, and utility scripts, each illustrated with code screenshots to help learners practice and master fundamental coding skills.

AlgorithmsCode ExamplesPython
0 likes · 5 min read
Python Programming Exercises: Sorting, Math, File Operations, and More
Baobao Algorithm Notes
Baobao Algorithm Notes
Dec 10, 2021 · Artificial Intelligence

AutoX: One-Click Tabular AutoML from Feature Engineering to Model Fusion

AutoX offers a one‑click solution for tabular AutoML by defining feature operators, constructing a searchable feature space, applying efficient feature selection, tuning hyper‑parameters, and performing model ensembling, enabling users with limited ML expertise to automatically generate high‑performing predictive models, as demonstrated on multiple Kaggle datasets.

AutoMLAutoXMachine Learning Automation
0 likes · 7 min read
AutoX: One-Click Tabular AutoML from Feature Engineering to Model Fusion
Laravel Tech Community
Laravel Tech Community
Dec 9, 2021 · Fundamentals

TIOBE Programming Language Index – December 2021 Rankings and Trends

The December 2021 TIOBE index reveals the top 20 programming languages, highlights notable movements such as Python’s three‑month dominance, Swift’s rise into the top ten, and C# as a strong candidate for the upcoming annual award, while also explaining the index’s methodology and its limitations.

C#PythonTIOBE Index
0 likes · 5 min read
TIOBE Programming Language Index – December 2021 Rankings and Trends
Python Programming Learning Circle
Python Programming Learning Circle
Dec 9, 2021 · Fundamentals

Plotting 500‑hPa Geopotential Height, Wind Speed, and Wind Barbs with Python, xarray, and Cartopy

This tutorial shows how to load a NAM NetCDF file with xarray, smooth 500‑hPa geopotential height and wind components, compute wind speed using MetPy, and create a Lambert Conformal map with Cartopy that displays color‑filled wind speed, height contours, and wind barbs, finally saving the figure as an image.

CartopyMetPyPython
0 likes · 5 min read
Plotting 500‑hPa Geopotential Height, Wind Speed, and Wind Barbs with Python, xarray, and Cartopy
Python Programming Learning Circle
Python Programming Learning Circle
Dec 9, 2021 · Game Development

Modular Alien Invasion Game Tutorial with Python and Pygame

This tutorial walks through building a complete Alien Invasion arcade game in Python using Pygame, explaining the modular design of settings, ship, alien, bullet, button, game statistics, and scoreboard modules, and demonstrates how to implement game loops, event handling, collision detection, and scoring logic.

Alien InvasionGame DevelopmentModular Programming
0 likes · 15 min read
Modular Alien Invasion Game Tutorial with Python and Pygame
Python Programming Learning Circle
Python Programming Learning Circle
Dec 8, 2021 · Backend Development

Using PyInstaller and Nuitka to Package Python Projects into Executables

This article compares PyInstaller and Nuitka for converting Python scripts into standalone Windows executables, discusses their advantages and drawbacks, provides step‑by‑step installation of Nuitka, explains key command‑line options, and demonstrates a practical example that yields a tiny, fast‑building executable versus a large, slow‑building PyInstaller output.

CLIExecutableNuitka
0 likes · 6 min read
Using PyInstaller and Nuitka to Package Python Projects into Executables
Code DAO
Code DAO
Dec 7, 2021 · Artificial Intelligence

How to Cluster Text with TF‑IDF, KMeans and PCA in Python

This article walks through a complete Python workflow that loads the 20 Newsgroups dataset, preprocesses the documents, vectorizes them with TF‑IDF, groups them using KMeans, reduces dimensions with PCA, and visualizes the resulting clusters, illustrating each step with code and plots.

KMeansNLPPCA
0 likes · 13 min read
How to Cluster Text with TF‑IDF, KMeans and PCA in Python
Efficient Ops
Efficient Ops
Dec 5, 2021 · Backend Development

How I Boosted a Python Service to 50k QPS: Real‑World Performance Tuning Steps

This article details a step‑by‑step performance optimization of a Python backend service, covering requirement analysis, architecture redesign with caching and Redis queues, load‑testing results, TCP TIME_WAIT issues, and kernel parameter tweaks that ultimately raised throughput to 50,000 QPS with zero errors.

LinuxLoad TestingPython
0 likes · 9 min read
How I Boosted a Python Service to 50k QPS: Real‑World Performance Tuning Steps
Code DAO
Code DAO
Dec 3, 2021 · Artificial Intelligence

Understanding Actor‑Critic and A2C: From Policy Gradients to REINFORCE in RL

This article derives the policy‑gradient objective for discrete actions, implements the Monte‑Carlo REINFORCE algorithm in PyTorch, explains the actor‑critic framework, introduces Advantage Actor‑Critic (A2C) versus A3C, and demonstrates their performance on the OpenAI Gym CartPole‑v0 environment.

A2COpenAI GymPolicy Gradient
0 likes · 13 min read
Understanding Actor‑Critic and A2C: From Policy Gradients to REINFORCE in RL
Python Programming Learning Circle
Python Programming Learning Circle
Dec 2, 2021 · Frontend Development

CuteCharts: A Lightweight Python Visualization Library – Installation and Basic Examples

This article introduces the lightweight Python visualization library cutecharts, explains its installation, and provides step‑by‑step code examples for creating line, bar, pie, radar, scatter charts and combined page charts, demonstrating how to customize options such as labels, legends, colors, and inner radius.

CuteChartsPythoncharts
0 likes · 9 min read
CuteCharts: A Lightweight Python Visualization Library – Installation and Basic Examples
Code DAO
Code DAO
Dec 1, 2021 · Artificial Intelligence

Building a Satellite Image Classifier with PyTorch ResNet34

This article walks through creating a satellite image classification pipeline using PyTorch and a pretrained ResNet34 model, covering dataset preparation, project structure, data loading, model definition, training, validation, loss/accuracy plotting, and inference on new images with detailed code examples and results.

Deep LearningImage ClassificationPyTorch
0 likes · 17 min read
Building a Satellite Image Classifier with PyTorch ResNet34
Python Programming Learning Circle
Python Programming Learning Circle
Dec 1, 2021 · Fundamentals

Introduction to NetworkX: Installation, Basic Usage, and Graph Operations in Python

This article introduces the Python NetworkX library, covering its installation via Anaconda, fundamental graph creation, node and edge manipulation, attribute handling, directed and multigraph features, built‑in generators, analysis functions, and visualization with Matplotlib, all illustrated with concrete code examples.

Data StructuresPythongraph theory
0 likes · 13 min read
Introduction to NetworkX: Installation, Basic Usage, and Graph Operations in Python
Python Programming Learning Circle
Python Programming Learning Circle
Dec 1, 2021 · Fundamentals

The Fastest Way to Loop in Python: Using Built‑in Functions and Formulas Instead of While/For Loops

This article benchmarks Python while and for loops, shows that for loops are faster due to fewer operations, demonstrates how built‑in functions like sum and direct arithmetic formulas can achieve orders‑of‑magnitude speedups, and concludes that the quickest way to "loop" in Python is to avoid loops altogether.

Algorithmic EfficiencyBenchmarkingPython
0 likes · 8 min read
The Fastest Way to Loop in Python: Using Built‑in Functions and Formulas Instead of While/For Loops
Code DAO
Code DAO
Nov 30, 2021 · Artificial Intelligence

How to Train a Custom Object Detector with PyTorch Faster R‑CNN

This article provides a step‑by‑step guide to building, training, and evaluating a custom object detection model using PyTorch Faster R‑CNN on a microcontroller dataset, covering data preparation, configuration, model modification, training loops, loss visualization, and inference on new images.

Faster R-CNNPyTorchPython
0 likes · 23 min read
How to Train a Custom Object Detector with PyTorch Faster R‑CNN
Liangxu Linux
Liangxu Linux
Nov 28, 2021 · Information Security

How to Use Shodan’s Python SDK for Device Discovery and Analysis

This guide explains what Shodan is, why internet‑connected devices are vulnerable, and provides step‑by‑step instructions—including environment setup, API key registration, basic Python searches, and advanced facet queries—to safely explore and analyze exposed devices.

APIDevice DiscoveryFacets
0 likes · 6 min read
How to Use Shodan’s Python SDK for Device Discovery and Analysis
MaGe Linux Operations
MaGe Linux Operations
Nov 26, 2021 · Fundamentals

Unlock Python’s 68 Built‑in Functions: A Complete Guide for Beginners

This article presents all 68 built‑in functions available in Python 3.6.2, categorizes them into twelve groups, and provides clear code examples for each function, helping beginners quickly master essential Python utilities for data types, conversions, mathematics, collections, scope, iteration, and more.

Code ExamplesData TypesPython
0 likes · 17 min read
Unlock Python’s 68 Built‑in Functions: A Complete Guide for Beginners
360 Quality & Efficiency
360 Quality & Efficiency
Nov 26, 2021 · Fundamentals

Generating Custom PDF Documents with ReportLab in Python

This article explains how to use Python's ReportLab library to create highly customized PDF documents, covering basic components like canvas, templates, page headers/footers, and demonstrating single‑column and double‑column layouts with text, charts, images, and tables through detailed code examples.

PDFPythonReportLab
0 likes · 9 min read
Generating Custom PDF Documents with ReportLab in Python
Programmer DD
Programmer DD
Nov 26, 2021 · Artificial Intelligence

Leverage DDParser for COVID‑19 Vaccine Data Extraction and Open‑Source Tools

This article introduces several pandemic‑related open‑source resources—including a nationwide COVID‑19 vaccine record lookup, a tracker for ineffective vaccine distribution, and Baidu's DDParser NLP tool—detailing their purpose, usage, and installation to help developers build better vaccine‑related applications.

COVID-19DDParserNLP
0 likes · 5 min read
Leverage DDParser for COVID‑19 Vaccine Data Extraction and Open‑Source Tools
Python Programming Learning Circle
Python Programming Learning Circle
Nov 25, 2021 · Big Data

Analyzing and Visualizing Maoyan Movie Reviews for “Chinese Doctors” Using Python

This tutorial demonstrates how to crawl approximately 40,000 Maoyan movie reviews for the film “Chinese Doctors,” preprocess the data, and create visualizations such as rating pie charts, city distribution maps, top‑viewer bar charts, and a word cloud using Python libraries like requests, pyecharts, and wordcloud.

Data visualizationMovie ReviewsPython
0 likes · 12 min read
Analyzing and Visualizing Maoyan Movie Reviews for “Chinese Doctors” Using Python
Python Programming Learning Circle
Python Programming Learning Circle
Nov 25, 2021 · Backend Development

Understanding Asynchronous Programming, I/O Models, and Event‑Driven Architecture in Python

This article explains the differences between synchronous and asynchronous calls, describes various I/O models—including blocking, non‑blocking, multiplexed, signal‑driven, and asynchronous I/O—and outlines how event‑driven programming works in Python back‑end frameworks such as Tornado, Twisted, Gevent, and asyncio.

Event-drivenI/O ModelsPython
0 likes · 9 min read
Understanding Asynchronous Programming, I/O Models, and Event‑Driven Architecture in Python
Python Programming Learning Circle
Python Programming Learning Circle
Nov 23, 2021 · Game Development

Python Pygame Skiing Game Tutorial with Full Source Code

This tutorial walks through building a simple skiing game in Python using Pygame, explaining the game mechanics, required image assets, and providing the complete source code that handles skier movement, obstacle generation, collision detection, scoring, and rendering in a 640×640 window.

Game DevelopmentPythonSkiing Game
0 likes · 7 min read
Python Pygame Skiing Game Tutorial with Full Source Code
MaGe Linux Operations
MaGe Linux Operations
Nov 21, 2021 · Backend Development

How to Reverse Engineer Laifeng Live Chat API and Send Automated Messages with Python

This guide walks through extracting and reproducing the encrypted parameters required to post chat messages on Laifeng live streams, covering site navigation, packet capture, timestamp generation, signature calculation via JavaScript decryption, and a complete Python script that logs in, builds the request, and sends the comment.

API reverse engineeringJavaScriptPython
0 likes · 17 min read
How to Reverse Engineer Laifeng Live Chat API and Send Automated Messages with Python
DataFunTalk
DataFunTalk
Nov 21, 2021 · Artificial Intelligence

Design Considerations for Next‑Generation AI Platforms: Programming Languages, Runtime Environment, Scheduler, and Model Deployment

The article examines three key design dimensions of modern AI platforms—programming language choice, runtime environment isolation, and scheduling/resource management—while also discussing challenges in model deployment such as algorithm diversity, resource usage patterns, and architectural generality, proposing Kubernetes‑based solutions and Arrow‑based data sharing to achieve efficient, scalable AI services.

KubernetesModel DeploymentPython
0 likes · 14 min read
Design Considerations for Next‑Generation AI Platforms: Programming Languages, Runtime Environment, Scheduler, and Model Deployment
21CTO
21CTO
Nov 19, 2021 · Artificial Intelligence

Top Programming Languages Powering Modern AI: Benefits & Use Cases

This article reviews the most suitable programming languages for artificial intelligence, explaining why Python, R, Java, LISP, Prolog, C++, Haskell, JavaScript, and Julia excel in AI development and outlining their key advantages and typical applications.

AIC++JavaScript
0 likes · 16 min read
Top Programming Languages Powering Modern AI: Benefits & Use Cases
Python Programming Learning Circle
Python Programming Learning Circle
Nov 17, 2021 · Backend Development

Using Blinker for Signal Handling in Python and Flask

This article introduces the concept of signals, explains how the Python Blinker library implements them with named, anonymous, and multicast signals, demonstrates various usage patterns including decorators and receiver checks, and shows how to integrate Blinker with Flask for request‑level event handling.

BackendBlinkerFlask
0 likes · 10 min read
Using Blinker for Signal Handling in Python and Flask
Python Programming Learning Circle
Python Programming Learning Circle
Nov 13, 2021 · Game Development

Python Game Development Tutorials: 2048, Snake, Tetris, and LianLianKan with Pygame and Tkinter

This article provides step‑by‑step Python tutorials for creating classic games—including 2048, Snake, Tetris, and LianLianKan—detailing design principles, core logic, and complete source code using Pygame and Tkinter for learners with basic Python and game‑programming knowledge.

2048Game DevelopmentLianLianKan
0 likes · 39 min read
Python Game Development Tutorials: 2048, Snake, Tetris, and LianLianKan with Pygame and Tkinter
Python Programming Learning Circle
Python Programming Learning Circle
Nov 10, 2021 · Big Data

Data Analysis and Visualization of Bilibili Documentary Metadata

This article demonstrates how to collect, process, and visualize Bilibili documentary metadata using Python APIs, pandas, and various plotting libraries, revealing insights into regional distribution, genre trends, episode lengths, popularity metrics, and comment dynamics across Chinese, British, and American documentary collections.

BilibiliMatplotlibPython
0 likes · 19 min read
Data Analysis and Visualization of Bilibili Documentary Metadata
Laravel Tech Community
Laravel Tech Community
Nov 9, 2021 · Fundamentals

TIOBE November 2021 Programming Language Rankings and Trends

The TIOBE Index for November 2021 shows Python retaining the top spot while PHP slips to the lower end of the top ten, highlights notable movements for languages such as Lua, Dart, Kotlin, and provides detailed rankings for the top 100 programming languages along with historical trend charts.

Language TrendsPHPPython
0 likes · 6 min read
TIOBE November 2021 Programming Language Rankings and Trends
MaGe Linux Operations
MaGe Linux Operations
Nov 7, 2021 · Fundamentals

Explore Python 3.10 Official Docs: Installation, API, FAQs & More

The Python 3.10.0 reference documentation provides a comprehensive guide covering installation, API reference, common questions, standard library details, language reference, and beginner tutorials, offering essential resources for newcomers and experienced developers alike, with downloadable PDFs and QR codes for easy access.

APIDocumentationPython
0 likes · 3 min read
Explore Python 3.10 Official Docs: Installation, API, FAQs & More
Test Development Learning Exchange
Test Development Learning Exchange
Nov 7, 2021 · Backend Development

Custom Python Logging Wrapper Using colorlog

This article introduces a custom Python logging wrapper built on the standard logging module and colorlog, explaining its design, configuration of console and file handlers, level settings, formatter setup, and usage examples to enhance debugging and monitoring across development, testing, and production phases.

ColorLogPythonWrapper
0 likes · 4 min read
Custom Python Logging Wrapper Using colorlog
Java Backend Technology
Java Backend Technology
Nov 7, 2021 · Artificial Intelligence

6 Must‑Try Open‑Source Projects to Boost Your Development Skills

This article introduces six intriguing open‑source projects—including an audio‑based keylogger, a high‑accuracy face‑recognition library, a TensorFlow.js video‑person removal tool, a Chinese kinship calculator, a Java Word template engine, and a sleek macOS Markdown editor—each with brief descriptions, screenshots, and usage examples.

AIJavaScriptPython
0 likes · 5 min read
6 Must‑Try Open‑Source Projects to Boost Your Development Skills
Python Programming Learning Circle
Python Programming Learning Circle
Nov 1, 2021 · Fundamentals

Python Packaging: History, Tools, and Best Practices with Poetry and Setuptools

This article explains the evolution of Python packaging, compares legacy tools like distutils and setuptools with modern solutions such as Poetry, details how to create and configure pyproject.toml, setup.py, and requirements files, and provides practical guidance on building wheels, eggs, and publishing packages to PyPI.

PoetryPythondistribution
0 likes · 14 min read
Python Packaging: History, Tools, and Best Practices with Poetry and Setuptools
Alibaba Terminal Technology
Alibaba Terminal Technology
Nov 1, 2021 · Mobile Development

How to Extend Flutter UI Automation Beyond Native Tools: A Practical Guide

Flutter’s native testing tools struggle with hybrid apps, so this article analyzes the limitations of Flutter driver and integration_test, then presents a custom solution that leverages native automation frameworks, JSON protocols, and image‑processing techniques to achieve reliable UI automation for Flutter pages.

FlutterImage ProcessingPython
0 likes · 9 min read
How to Extend Flutter UI Automation Beyond Native Tools: A Practical Guide
MaGe Linux Operations
MaGe Linux Operations
Oct 31, 2021 · Game Development

Build an Arkanoid Clone Quickly with Python and PyGameZero

This tutorial walks you through creating a functional Arkanoid‑style game using Python and PyGameZero, covering installation, window setup, sprite handling, drawing and update loops, paddle control, ball physics, collision detection, and suggestions for adding game‑over logic and scoring.

ArkanoidPyGameZeroPython
0 likes · 12 min read
Build an Arkanoid Clone Quickly with Python and PyGameZero
MaGe Linux Operations
MaGe Linux Operations
Oct 30, 2021 · Fundamentals

Master Python Essentials: Sets, Calendars, Enums, and More

This article presents practical Python tricks—including set operations, calendar calculations, enumerate usage with custom start indices, clean if‑else handling via enums, the enum module itself, and iPython basics—providing concise examples and explanations to help developers write more efficient and readable code.

CalendarIPythonPython
0 likes · 10 min read
Master Python Essentials: Sets, Calendars, Enums, and More
21CTO
21CTO
Oct 29, 2021 · Fundamentals

6 Exciting Python 3.10 Features That Boost Your Coding Experience

Python 3.10 introduces six standout enhancements—including clearer error traces, structural pattern matching, a new type union operator, stricter zip, automatic text encoding warnings, and async iteration utilities—each designed to streamline debugging, improve code readability, and expand the language’s capabilities for developers and educators alike.

Error HandlingNew FeaturesPython
0 likes · 7 min read
6 Exciting Python 3.10 Features That Boost Your Coding Experience
Sohu Tech Products
Sohu Tech Products
Oct 27, 2021 · Backend Development

Using PrettyTable in Python to Create Formatted Command‑Line Tables

This article introduces the PrettyTable Python library, explains how to install it, demonstrates creating tables with headers, adding rows and columns, importing data from CSV, databases, or HTML, and shows various output formats and styling options for clear command‑line presentation.

CSVData PresentationPython
0 likes · 13 min read
Using PrettyTable in Python to Create Formatted Command‑Line Tables
MaGe Linux Operations
MaGe Linux Operations
Oct 26, 2021 · Fundamentals

6 Exciting Python 3.10 Features That Boost Your Coding Experience

Python 3.10 introduces clearer error tracing, structured pattern matching, a new type union operator, stricter zip, automatic text encoding warnings, and enhanced async iteration, offering developers more readable code, faster debugging, and modern programming conveniences.

Error HandlingNew FeaturesPython
0 likes · 7 min read
6 Exciting Python 3.10 Features That Boost Your Coding Experience
Python Programming Learning Circle
Python Programming Learning Circle
Oct 25, 2021 · Fundamentals

Python Built-in Functions Overview and Usage

An extensive guide to Python's 68 built-in functions (up to version 3.6.2), organized into categories covering numeric operations, data types, data structures, scope, iterators, and I/O, with code examples illustrating each function's usage and behavior.

Code ExamplesData TypesPython
0 likes · 15 min read
Python Built-in Functions Overview and Usage
Python Programming Learning Circle
Python Programming Learning Circle
Oct 25, 2021 · Backend Development

Building a Flask‑Vue Word Cloud Application

This tutorial walks through creating a word‑cloud web application using Flask for the backend and Vue for the frontend, covering environment setup, project structure, installing dependencies, writing API endpoints, building UI components, and packaging the app for deployment.

FlaskPythonVue
0 likes · 9 min read
Building a Flask‑Vue Word Cloud Application
MaGe Linux Operations
MaGe Linux Operations
Oct 23, 2021 · Backend Development

How to Scrape and Analyze Taobao Snack Sales Data with Python

This article walks through a real‑world Python project that uses Selenium to crawl the first ten pages of Taobao snack listings, extracts sales, price and location data, visualizes price distribution and geographic concentration, generates a word‑cloud of top user comments, and lists the top‑selling stores, providing full source code for replication.

PythonSeleniumTaobao
0 likes · 12 min read
How to Scrape and Analyze Taobao Snack Sales Data with Python