Tagged articles

Python

5000 articles · Page 50 of 50
Programmer DD
Programmer DD
Apr 27, 2020 · Fundamentals

Python 2.7.18 Released: The Final Chapter of Python 2

On April 20, 2020, the Python core team released Python 2.7.18, the last official version of Python 2, concluding a two‑decade release history that began with Python 2.0 in 2000 and marking the end of maintenance for the legacy language.

PythonReleaseSoftware Maintenance
0 likes · 3 min read
Python 2.7.18 Released: The Final Chapter of Python 2
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 26, 2020 · Backend Development

Scrapy Tutorial: Installation, Components, Project Setup, Code Implementation, and Data Storage

This article provides a comprehensive step‑by‑step guide to installing Scrapy, understanding its core components and processing flow, creating a weather‑data crawling project, writing items, settings, middlewares, spiders, running the crawler, exporting results, and storing the scraped data into MongoDB.

CrawlerMongoDBPython
0 likes · 15 min read
Scrapy Tutorial: Installation, Components, Project Setup, Code Implementation, and Data Storage
Python Programming Learning Circle
Python Programming Learning Circle
Apr 24, 2020 · Fundamentals

Python Basics, Common Pitfalls, and a Simple Web Scraper for Douban Book Ratings

This article introduces Python's core concepts and hierarchy, highlights ten frequent beginner mistakes, and walks through building a basic web scraper that extracts book information from Douban, processes it with pandas, and displays the resulting data, providing a practical learning path for Python fundamentals.

FundamentalsPandasPython
0 likes · 5 min read
Python Basics, Common Pitfalls, and a Simple Web Scraper for Douban Book Ratings
Python Programming Learning Circle
Python Programming Learning Circle
Apr 22, 2020 · Fundamentals

Implementing a Priority Queue in Python Using heapq

This article explains how to implement a priority queue in Python using the built‑in heapq module, demonstrates extracting smallest and largest elements from price lists, and provides a full PriorityQueue class with push, pop, and is_empty methods, illustrated with stock portfolio examples.

Pythonalgorithmheapq
0 likes · 6 min read
Implementing a Priority Queue in Python Using heapq
21CTO
21CTO
Apr 21, 2020 · Fundamentals

Master Python File Downloads: Requests, Wget, urllib, Async & More

This tutorial walks through multiple Python approaches for downloading files—including simple requests and wget calls, handling redirects, large and multi‑file downloads, proxy usage, urllib/urllib3 methods, and asynchronous techniques—providing complete code snippets and practical tips for each scenario.

Pythonasynciofile-download
0 likes · 11 min read
Master Python File Downloads: Requests, Wget, urllib, Async & More
Python Crawling & Data Mining
Python Crawling & Data Mining
Apr 18, 2020 · Backend Development

How to Scrape and Extract Proxy Data with Python: Step-by-Step Guide

This tutorial walks through analyzing a proxy‑listing website’s structure, building a Python scraper using requests, Scrapy, regular expressions and BeautifulSoup, extracting IP, port, location and type fields across multiple pages, and saving the collected data to files, illustrating key web‑crawling techniques.

PythonScrapyproxy
0 likes · 6 min read
How to Scrape and Extract Proxy Data with Python: Step-by-Step Guide
Alibaba Cloud Developer
Alibaba Cloud Developer
Apr 16, 2020 · Artificial Intelligence

How Mars Supercharges Numpy, Pandas, and Scikit‑Learn with Parallel and GPU Acceleration

This article explains how the Mars framework enables parallel and distributed execution of core Python data‑science libraries—Numpy, Pandas, and Scikit‑Learn—while integrating with RAPIDS for GPU acceleration, and demonstrates its performance advantages through code examples and benchmark results.

GPU AccelerationMarsNumPy
0 likes · 16 min read
How Mars Supercharges Numpy, Pandas, and Scikit‑Learn with Parallel and GPU Acceleration
System Architect Go
System Architect Go
Apr 11, 2020 · Artificial Intelligence

How to Build an Image Search Engine with CNN and Milvus: A Step‑by‑Step Guide

This article walks through the complete engineering workflow for building an image‑search system, covering CNN‑based feature extraction with VGG16, vector normalization, image preprocessing, black‑edge removal, and practical deployment of the Milvus vector database including hardware requirements, capacity planning, collection/partition design, and search result handling.

CNNMilvusPython
0 likes · 11 min read
How to Build an Image Search Engine with CNN and Milvus: A Step‑by‑Step Guide
ITPUB
ITPUB
Apr 11, 2020 · Operations

Which Linux Command Deletes Hundreds of Thousands of Files the Fastest?

This article benchmarks several Linux techniques—including rm, find, rsync, Python, and Perl—for deleting 500,000 small files, measuring execution times and revealing that rsync with the --delete option completes the task in under 20 seconds, far outpacing traditional commands.

Pythonfile deletionfind
0 likes · 4 min read
Which Linux Command Deletes Hundreds of Thousands of Files the Fastest?
Ops Development Stories
Ops Development Stories
Apr 9, 2020 · Databases

Build a Simple Employee Management System with MongoDB and Flask

This tutorial walks you through creating a web‑based employee management system that demonstrates MongoDB CRUD operations using Python, Flask, and Pipenv, covering project setup, environment configuration, code implementation for querying, adding, updating, and soft‑deleting records, and how to run the application.

CRUDDatabaseEmployee Management
0 likes · 15 min read
Build a Simple Employee Management System with MongoDB and Flask
Sohu Tech Products
Sohu Tech Products
Apr 8, 2020 · Fundamentals

Building an IntelliJ Plugin to Convert MySQL DDL into Python ORM Models Using Lexical Analysis

This article explains how to create a JetBrains IntelliJ plugin that parses MySQL DDL statements, performs lexical analysis to extract table and column information, and automatically generates corresponding Python ORM model classes, illustrating the underlying state‑machine lexer, recursive parsing logic, and sample code.

DDLIntelliJ PluginORM
0 likes · 9 min read
Building an IntelliJ Plugin to Convert MySQL DDL into Python ORM Models Using Lexical Analysis
MaGe Linux Operations
MaGe Linux Operations
Apr 7, 2020 · Backend Development

Build a Custom Python SDK for Pinduoduo Order API

This article demonstrates how to create a custom Python SDK for Pinduoduo's order-related APIs, covering request signing, parameter assembly, URL encoding, and example calls to retrieve order lists, details, status, and incremental updates, complete with sample code and usage screenshots.

APIHTTPPinduoduo
0 likes · 5 min read
Build a Custom Python SDK for Pinduoduo Order API
Ops Development Stories
Ops Development Stories
Apr 7, 2020 · Databases

Master MongoDB with Python: Complete Guide to CRUD Operations

This tutorial explains how to install PyMongo, connect to local or remote MongoDB instances, choose databases and collections, and perform all common CRUD operations—including inserts, queries, updates, deletions, and special cases—using Python code examples and practical tips.

CRUDDatabaseMongoDB
0 likes · 14 min read
Master MongoDB with Python: Complete Guide to CRUD Operations
dbaplus Community
dbaplus Community
Apr 6, 2020 · Databases

How AI‑Driven Intelligent Ops Transform Database Management in Banking

This article examines the severe time‑critical pain points of bank database operations, explains why AI‑based intelligent ops are needed, describes the platform architecture, unsupervised algorithms (3σ, Isolation Forest, DBSCAN, Pearson, Apriori), and presents a real‑world case study that demonstrates anomaly detection, root‑cause analysis, and practical optimization recommendations.

AIOpsAnomaly DetectionDatabase operations
0 likes · 23 min read
How AI‑Driven Intelligent Ops Transform Database Management in Banking
DataFunTalk
DataFunTalk
Apr 6, 2020 · Artificial Intelligence

Introducing DeepMatch: An Open‑Source Library for Deep Retrieval Matching Algorithms

DeepMatch is an open‑source Python library that implements several mainstream deep‑learning based recall‑matching algorithms, provides easy installation via pip, detailed usage examples with code, and supports exporting user and item vectors for ANN search, making it ideal for rapid experimentation and learning in recommendation systems.

ANNOpen SourcePython
0 likes · 10 min read
Introducing DeepMatch: An Open‑Source Library for Deep Retrieval Matching Algorithms
MaGe Linux Operations
MaGe Linux Operations
Apr 1, 2020 · Operations

Which Linux Command Deletes Massive Files Fastest? Benchmark Results

This article benchmarks several Linux methods for deleting half a million small files—including rm, find with -exec, find with -delete, rsync, Python, and Perl—showing their execution times and concluding that rsync with the --delete option is the quickest and most convenient solution.

PythonShell Commandsfile deletion
0 likes · 4 min read
Which Linux Command Deletes Massive Files Fastest? Benchmark Results
360 Quality & Efficiency
360 Quality & Efficiency
Mar 31, 2020 · Operations

Using Supervisor for Process Management on Linux: Installation, Configuration, and Practical Example

This article explains why nohup cannot monitor scripts, introduces Supervisor as a Python‑based process monitor, shows how to install it on CentOS, Ubuntu, and via pip, details the supervisord.conf and program .ini configurations, demonstrates a sample Python script, and outlines common commands for managing and restarting services.

LinuxOperationsPython
0 likes · 6 min read
Using Supervisor for Process Management on Linux: Installation, Configuration, and Practical Example
Python Programming Learning Circle
Python Programming Learning Circle
Mar 31, 2020 · Backend Development

Four Ways to Execute Shell Commands in Python

This article explains four Python techniques—os.system, os.popen, the commands module, and subprocess—for running shell commands, comparing their ability to capture output, return status, and recommending subprocess as the most flexible modern solution.

CommandsPythonShell
0 likes · 3 min read
Four Ways to Execute Shell Commands in Python
ITPUB
ITPUB
Mar 31, 2020 · Fundamentals

How to Install Python 3.7 on Ubuntu 18.04 – Step‑by‑Step Guide

This tutorial walks you through two reliable methods for installing Python 3.7 on Ubuntu 18.04 LTS—using the deadsnakes PPA with APT and compiling from source—detailing prerequisite packages, exact commands, expected output, and verification steps.

InstallationPythonapt
0 likes · 10 min read
How to Install Python 3.7 on Ubuntu 18.04 – Step‑by‑Step Guide
Ops Development Stories
Ops Development Stories
Mar 26, 2020 · Operations

How to Auto‑Discover and Monitor Redis Ports with Zabbix

This guide explains how to use Zabbix's auto‑discovery feature to automatically find Redis instances on a server, create shell or Python scripts for port detection, configure Zabbix agent keys, set up server‑side templates, discovery rules, item prototypes, graphs, and triggers, and finally apply the template to monitored hosts.

Auto-discoveryMonitoringPython
0 likes · 9 min read
How to Auto‑Discover and Monitor Redis Ports with Zabbix
Python Crawling & Data Mining
Python Crawling & Data Mining
Mar 26, 2020 · Backend Development

Master FastAPI: Build High‑Performance Python APIs Quickly

This article introduces FastAPI, a modern high‑performance Python web framework, walks through installation, basic routing, async handling, query and path parameters, data modeling with Pydantic, template rendering with Jinja2, and compares its speed to Flask, providing complete code examples and screenshots.

APIBackend DevelopmentFastAPI
0 likes · 10 min read
Master FastAPI: Build High‑Performance Python APIs Quickly
Sohu Tech Products
Sohu Tech Products
Mar 25, 2020 · Information Security

Designing Anti‑Scraping Techniques Using Custom Base64 Encoding

This article explains how to hide real intentions behind visible actions by using text obfuscation and custom Base64‑like encoding to defeat standard web scrapers, detailing the underlying principles, decoding challenges, and Python implementations of a flexible Custom64 encoder.

Base64Pythonanti-scraping
0 likes · 10 min read
Designing Anti‑Scraping Techniques Using Custom Base64 Encoding
Python Programming Learning Circle
Python Programming Learning Circle
Mar 25, 2020 · Artificial Intelligence

Captcha Generation and Recognition Using a Convolutional Neural Network – Project Overview and Implementation

This article presents a complete Python implementation for generating captcha images, loading and preprocessing data, defining a three‑layer convolutional neural network, and training and evaluating the model with TensorBoard, achieving over 99% training accuracy and 93% test accuracy.

Pythonimage classification
0 likes · 7 min read
Captcha Generation and Recognition Using a Convolutional Neural Network – Project Overview and Implementation
ITPUB
ITPUB
Mar 24, 2020 · Fundamentals

Master Matplotlib: From Installation to Advanced Plotting Techniques

This comprehensive Matplotlib tutorial walks you through installing the library, importing pyplot, creating basic and advanced plot types—including line, contour, histogram, bar, and stream plots—customizing fonts, axes, and labels, saving figures, and using subplots to compose multi‑panel visualizations, all with clear code examples.

Data VisualizationMatplotlibPython
0 likes · 12 min read
Master Matplotlib: From Installation to Advanced Plotting Techniques
FunTester
FunTester
Mar 23, 2020 · Backend Development

Curated Collection of Java, Groovy, and Python Technical Articles

This article presents a curated list of technical resources covering Java, Groovy, and Python, including tutorials on concurrency, memory management, regular expressions, scripting, and performance optimization, each linked to detailed explanations and code examples.

ConcurrencyGroovyJava
0 likes · 9 min read
Curated Collection of Java, Groovy, and Python Technical Articles
MaGe Linux Operations
MaGe Linux Operations
Mar 22, 2020 · Backend Development

How to Build a Custom CAPTCHA Service with Python Sanic

This tutorial shows how to generate a simple image‑based CAPTCHA using Python's Pillow library and the Sanic web framework, store the code in a session, and validate user input, with notes on adding asynchronous refresh functionality.

PythonVerificationWeb Development
0 likes · 6 min read
How to Build a Custom CAPTCHA Service with Python Sanic
58 Tech
58 Tech
Mar 20, 2020 · Mobile Development

Zucker: An Open‑Source Android APK Module Size Analysis Tool

Zucker is an open‑source Android utility that automatically analyzes APK module sizes by cloning projects, calculating unique AAR dependencies, simulating target AARs, and providing detailed reports to help developers reduce app bloat early in the development cycle.

AARAPK analysisAndroid
0 likes · 11 min read
Zucker: An Open‑Source Android APK Module Size Analysis Tool
360 Tech Engineering
360 Tech Engineering
Mar 17, 2020 · Fundamentals

Understanding Python Decorators and Their Four Types with Example

This article explains what Python decorators are, describes their four types—function decorating function, function decorating class, class decorating function, and class decorating class—illustrates each with diagrams, and provides a practical example that dynamically passes test case names to a function via a decorator.

DecoratorFundamentalsPython
0 likes · 2 min read
Understanding Python Decorators and Their Four Types with Example
MaGe Linux Operations
MaGe Linux Operations
Mar 16, 2020 · Fundamentals

Top 10 Python Fundamentals Every Developer Should Know

This article presents ten essential Python concepts—from language features and copy semantics to inheritance, multithreading, monkey‑patching, argument handling, special methods, ternary expressions, and memory management—providing clear explanations and code examples for each.

Interview QuestionsPythondeep copy
0 likes · 7 min read
Top 10 Python Fundamentals Every Developer Should Know
FunTester
FunTester
Mar 15, 2020 · Backend Development

Curated Collection of Java, Groovy, and Python Articles

This curated collection presents dozens of Chinese-language articles covering Java, Groovy, and Python topics such as concurrency, performance optimization, regular expressions, JMeter scripting, and algorithmic challenges, providing links to in-depth tutorials and code examples for developers seeking to deepen their programming expertise.

ConcurrencyGroovyJava
0 likes · 9 min read
Curated Collection of Java, Groovy, and Python Articles
Python Crawling & Data Mining
Python Crawling & Data Mining
Mar 12, 2020 · Fundamentals

Master Matplotlib: 40+ Python Plotting Techniques from Basics to Advanced

This comprehensive guide walks you through importing Matplotlib, creating basic charts like line, scatter, and histograms, customizing plot elements, legends, color maps, arranging subplots, generating 3D visualizations, and applying these techniques to a Pokémon dataset, all with ready-to-use code snippets for Python developers.

MatplotlibPythonSeaborn
0 likes · 15 min read
Master Matplotlib: 40+ Python Plotting Techniques from Basics to Advanced
Efficient Ops
Efficient Ops
Mar 9, 2020 · Fundamentals

Master Python Basics: Essential Syntax, Variables, and Operators Explained

This comprehensive guide walks you through Python fundamentals, covering its philosophy, installation, basic syntax, comments, operators, data types, variable naming, control structures, loops, functions, and module usage, providing clear examples and practical tips for quick reference.

BasicsFunctionsPython
0 likes · 39 min read
Master Python Basics: Essential Syntax, Variables, and Operators Explained
Tencent Cloud Developer
Tencent Cloud Developer
Mar 9, 2020 · Artificial Intelligence

Face Recognition Unlock System for Real-World Game Scenes Using Raspberry Pi and Tencent Cloud

The article details how a low‑cost, compact face‑recognition lock for an escape‑room game was built using a Raspberry Pi, camera, ultrasonic sensor, relay‑controlled electromagnetic lock, and Tencent Cloud’s Face Recognition API, with about 200 lines of Python code handling parallel sensor monitoring, video streaming, watermark overlay, and cloud authentication.

IoTPythonRaspberry Pi
0 likes · 17 min read
Face Recognition Unlock System for Real-World Game Scenes Using Raspberry Pi and Tencent Cloud
MaGe Linux Operations
MaGe Linux Operations
Mar 5, 2020 · Fundamentals

Unlocking Python’s Underscore: 4 Powerful Uses You Should Know

This article explains four practical ways the underscore (_) is used in Python—retrieving the last expression result, discarding unwanted values, marking private module members, and improving readability of large numeric literals—with clear code examples.

Code examplesProgramming BasicsPython
0 likes · 5 min read
Unlocking Python’s Underscore: 4 Powerful Uses You Should Know
360 Tech Engineering
360 Tech Engineering
Mar 4, 2020 · Backend Development

Using HttpRunner 2.0.1 for API Automation: Setup, Core Commands, Common Issues and Practical Tips

This article introduces HttpRunner 2.0.1 for API automation, explains the environment setup, project structure, essential CLI commands and Python integration, and shares solutions to frequent problems such as timestamp handling, variable overriding, extraction, and execution repeats, along with useful tips for efficient test layering.

API testingHttpRunnerPython
0 likes · 7 min read
Using HttpRunner 2.0.1 for API Automation: Setup, Core Commands, Common Issues and Practical Tips
Python Programming Learning Circle
Python Programming Learning Circle
Mar 3, 2020 · Backend Development

Event‑Driven Programming and I/O Models in Python

This article explains the principles of event‑driven programming, compares traditional linear execution with event‑driven models, and details various I/O models—including blocking, non‑blocking, multiplexing, signal‑driven, and asynchronous—providing Python code examples and discussing their advantages and use cases.

IO ModelPythonasynchronous
0 likes · 26 min read
Event‑Driven Programming and I/O Models in Python
360 Quality & Efficiency
360 Quality & Efficiency
Feb 21, 2020 · Fundamentals

Key Differences Between Python 2 and Python 3

This article outlines the historical development of Python, explains why Python 2 reached end‑of‑life in 2020, and details the major syntactic and functional differences between Python 2 and Python 3, including encoding defaults, exception handling, range functions, print statements, and input behavior, concluding with guidance on choosing a version.

Pythonencodingprogramming
0 likes · 8 min read
Key Differences Between Python 2 and Python 3
Python Programming Learning Circle
Python Programming Learning Circle
Feb 20, 2020 · Backend Development

Understanding Backpressure in Asynchronous Systems

Backpressure, the resistance to data flow in overloaded systems, is crucial for reliable asynchronous programming; this article explains its concepts, illustrates pitfalls in Python asyncio and other languages, and presents strategies such as buffering, draining, semaphores, and protocol-level flow control to manage overload.

ConcurrencyFlow ControlPython
0 likes · 16 min read
Understanding Backpressure in Asynchronous Systems