Tagged articles
5000 articles
Page 48 of 50
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 9, 2020 · Databases

Implementing a Raw TCP MySQL Connection in Python

This article explains the MySQL client‑server handshake, details the sequence of packets exchanged during a TCP connection, and provides a complete Python implementation that builds a raw TCP socket to connect, authenticate, and communicate with a MySQL server without using a high‑level driver.

NetworkingPythonTCP
0 likes · 12 min read
Implementing a Raw TCP MySQL Connection in Python
DevOps Cloud Academy
DevOps Cloud Academy
Jun 9, 2020 · Operations

Implementing a Python CI/CD Pipeline with GitLab CI

This guide demonstrates how to create a complete GitLab CI pipeline for a Python Flask application, covering dependency installation, code compilation, testing, static analysis, Docker image building, and Kubernetes deployment, with detailed configuration snippets and a sample Dockerfile.

DevOpsGitLab CIPython
0 likes · 5 min read
Implementing a Python CI/CD Pipeline with GitLab CI
Python Programming Learning Circle
Python Programming Learning Circle
Jun 8, 2020 · Backend Development

Understanding Synchronous vs Asynchronous Programming in Python with asyncio and aiohttp

This article explains the limitations of Python's GIL, compares synchronous and asynchronous execution models, introduces asyncio and aiohttp, provides concrete code examples for single and multiple concurrent HTTP requests, and offers solutions for common concurrency errors such as too many file descriptors.

AsynchronousBackendPython
0 likes · 8 min read
Understanding Synchronous vs Asynchronous Programming in Python with asyncio and aiohttp
Python Programming Learning Circle
Python Programming Learning Circle
Jun 8, 2020 · Fundamentals

10 Smooth Python Tricks for Python Gods

This article presents ten practical Python tricks—including string reversal, variable unpacking, itertools usage, slicing, grouping adjacent items, generator next(), Counter, and deque operations—demonstrating how to leverage built‑in functions and standard‑library modules to write cleaner, more efficient code.

PythonStandard Libraryfundamentals
0 likes · 9 min read
10 Smooth Python Tricks for Python Gods
Python Crawling & Data Mining
Python Crawling & Data Mining
Jun 7, 2020 · Fundamentals

8 Powerful Ways to Import Modules in Python (including Remote Imports)

Explore eight distinct methods for importing Python modules—from the simple 'import' statement to advanced techniques like __import__, importlib, imp, execfile, exec, the import_from_github_com package, and custom remote importers—providing practical code examples and guidance for both everyday developers and framework creators.

ImportPythondynamic import
0 likes · 10 min read
8 Powerful Ways to Import Modules in Python (including Remote Imports)
Python Programming Learning Circle
Python Programming Learning Circle
Jun 5, 2020 · Fundamentals

Pure Python Techniques: Lambda Functions, List Comprehensions, and Zip

This article introduces several powerful pure‑Python features—lambda functions, list comprehensions, and the zip function—demonstrating how they can simplify data cleaning, feature engineering, and iterative processing with concise code examples, helping programmers reduce reliance on external libraries while improving productivity.

LambdaPythondata-cleaning
0 likes · 7 min read
Pure Python Techniques: Lambda Functions, List Comprehensions, and Zip
Python Crawling & Data Mining
Python Crawling & Data Mining
Jun 5, 2020 · Backend Development

Build a Python Image Scraper for 51miz.com in Minutes

This tutorial walks you through creating a Python web scraper that fetches image URLs from 51miz.com using requests and lxml, filters them with regular expressions, downloads the images, and demonstrates the complete workflow with code snippets and screenshots.

PythonWeb ScrapingXPath
0 likes · 5 min read
Build a Python Image Scraper for 51miz.com in Minutes
Python Programming Learning Circle
Python Programming Learning Circle
Jun 4, 2020 · Fundamentals

Python Multiprocessing Module: Process Creation, Synchronization, and Inter‑Process Communication

This article provides a comprehensive guide to Python's multiprocessing module, covering how to create and manage processes, use join for synchronization, configure daemon processes, and employ synchronization primitives such as Lock, Semaphore, Event, and Queue for safe inter‑process communication, with complete code examples.

Interprocess CommunicationPythonSynchronization
0 likes · 12 min read
Python Multiprocessing Module: Process Creation, Synchronization, and Inter‑Process Communication
21CTO
21CTO
Jun 3, 2020 · Backend Development

Explore SpaceX’s Open REST API: Access Rocket Data with Python, Docker & More

This article introduces the community‑maintained SpaceX REST API that aggregates all launch, vehicle, and payload data, explains how to query it using tools like Postman or Python, and provides deployment options via Docker or local npm setup for developers.

MongoDBPythonREST API
0 likes · 5 min read
Explore SpaceX’s Open REST API: Access Rocket Data with Python, Docker & More
Python Programming Learning Circle
Python Programming Learning Circle
Jun 2, 2020 · Fundamentals

Understanding the Difference Between == and is in Python 3.6

This article examines the implementation details of Python's == and is operators, showing how both are compiled to COMPARE_OP bytecode with different opcodes, exploring the underlying C functions like cmp_outcome and object_richcompare, and explaining the rich comparison protocol and its default behavior.

ComparisonPythonbytecode
0 likes · 11 min read
Understanding the Difference Between == and is in Python 3.6
Bitu Technology
Bitu Technology
May 29, 2020 · Big Data

Optimizing Data Access in Tubi Data Runtime: Redshift Connector, SQL Cell Magic, and JupyterLab Extensions

This article explains how Tubi Data Runtime (TDR) streamlines data access on JupyterHub by introducing an optimized Redshift connector, custom SQL cell magic, and JupyterLab extensions for data exploration, reducing latency and resource usage while enhancing collaboration and usability for data scientists and engineers.

DataConnectorJupyterHubKubernetes
0 likes · 12 min read
Optimizing Data Access in Tubi Data Runtime: Redshift Connector, SQL Cell Magic, and JupyterLab Extensions
Aikesheng Open Source Community
Aikesheng Open Source Community
May 28, 2020 · Databases

Creating Custom Extensions in MySQL Shell with JavaScript and Python

The article explains how MySQL Shell 8.0.17+ can be extended using JavaScript or Python to build reusable reports and plugins, describes the directory layout, provides a complete example of registering a report and a plugin that list tables without primary keys, and shows how to invoke them via \show, \watch or direct function calls.

ExtensionJavaScriptPython
0 likes · 8 min read
Creating Custom Extensions in MySQL Shell with JavaScript and Python
Python Crawling & Data Mining
Python Crawling & Data Mining
May 28, 2020 · Backend Development

Multithreaded Python Crawl of Xiaomi App Store Games

This tutorial demonstrates how to use Python's requests, threading, and queue modules to build a multithreaded crawler that extracts game names, download links, and execution time from the Xiaomi App Store, complete with code examples and performance tips.

PythonWeb ScrapingXiaomi App Store
0 likes · 7 min read
Multithreaded Python Crawl of Xiaomi App Store Games
21CTO
21CTO
May 20, 2020 · Artificial Intelligence

Batch Remove Image Backgrounds with Python and PaddlePaddle

This tutorial shows how to install PaddlePaddle and PaddleHub, then use a concise Python script to batch‑remove backgrounds from multiple photos, automatically saving the segmented results, and includes sample code and before‑after images to illustrate the process.

Batch ProcessingPaddlePaddlePython
0 likes · 5 min read
Batch Remove Image Backgrounds with Python and PaddlePaddle
Python Programming Learning Circle
Python Programming Learning Circle
May 19, 2020 · Fundamentals

Understanding Python Closures, Generators, and the nonlocal Keyword with Multiple Implementation Methods

This article explains how to create a counter using Python closures, explores three different implementations—including mutable objects, generators, and the nonlocal keyword—while clarifying the behavior of immutable vs. mutable objects and demonstrating the practical use of nonlocal in nested functions.

Pythonclosurefundamentals
0 likes · 7 min read
Understanding Python Closures, Generators, and the nonlocal Keyword with Multiple Implementation Methods
Python Crawling & Data Mining
Python Crawling & Data Mining
May 19, 2020 · Fundamentals

Master Pandas: From Import to Data Cleaning in One Comprehensive Guide

This tutorial walks through essential pandas operations—including importing modules, building a sample shopping dataset, reading and writing CSV files, inspecting data structures, and performing thorough data cleaning such as handling missing values, trimming spaces, case conversion, replacements, deletions, duplicate removal, type casting, and column renaming—complete with code snippets and visual results.

PythonTutorialdata analysis
0 likes · 10 min read
Master Pandas: From Import to Data Cleaning in One Comprehensive Guide
MaGe Linux Operations
MaGe Linux Operations
May 18, 2020 · Cloud Native

Deploying Spring Cloud Eureka on a Private Kubernetes Cluster with CI/CD

This guide walks through setting up a private Kubernetes environment, configuring namespaces and service accounts, modifying Eureka for IP registration, preparing Docker and Harbor authentication, creating StatefulSet and Service manifests, and automating continuous deployment with a Python script, enabling a fully functional Spring Cloud Eureka service in a resource‑constrained cluster.

DockerHarborKubernetes
0 likes · 16 min read
Deploying Spring Cloud Eureka on a Private Kubernetes Cluster with CI/CD
Python Crawling & Data Mining
Python Crawling & Data Mining
May 17, 2020 · Fundamentals

Master Python’s Core Data Types: Numbers, Strings, Lists, and More

This article introduces Python’s fundamental data types—including numbers, strings, lists, tuples, sets, and dictionaries—explains their mutability, demonstrates variable assignments, type checking, and common built‑in functions with clear code examples, helping beginners quickly grasp and apply these essentials in their programs.

Data TypesPythonprogramming basics
0 likes · 9 min read
Master Python’s Core Data Types: Numbers, Strings, Lists, and More
Python Programming Learning Circle
Python Programming Learning Circle
May 15, 2020 · Fundamentals

Automating Multi‑Sheet Excel Sales Analysis with Python

The article demonstrates how a programmer can replace tedious manual Excel operations by using Python and pandas to batch‑process 128 sales spreadsheets, calculate brand‑level revenue, and dramatically reduce processing time from hours to seconds, illustrating a practical data‑analysis workflow.

Pythonautomationdata-analysis
0 likes · 4 min read
Automating Multi‑Sheet Excel Sales Analysis with Python
Python Programming Learning Circle
Python Programming Learning Circle
May 15, 2020 · Fundamentals

Understanding Python Closures and Decorators

This article explains Python closures and decorators, illustrating how closures capture free variables and how decorators can wrap functions to log calls, handle parameters, and preserve metadata, with clear code examples and step‑by‑step explanations.

Pythonclosuresdecorators
0 likes · 5 min read
Understanding Python Closures and Decorators
Python Programming Learning Circle
Python Programming Learning Circle
May 13, 2020 · Fundamentals

Why Explicit self Must Remain in Python

Bruce Eckel suggested removing the explicit 'self' parameter from Python class methods, but this article explains why keeping 'self' is essential for clear instance referencing, error messages, method types, decorators, and language compatibility, arguing that the proposal would introduce ambiguity and break existing conventions.

Pythondecoratorslanguage design
0 likes · 8 min read
Why Explicit self Must Remain in Python
Python Crawling & Data Mining
Python Crawling & Data Mining
May 13, 2020 · Fundamentals

Master Python Lists, Tuples, and Dictionaries: Essential Guide with Code Examples

This article introduces Python’s core data structures—lists, tuples, and dictionaries—explaining their definitions, indexing, slicing, iteration, modification, and common operations, and provides clear code examples for creating, accessing, updating, and deleting elements, helping beginners deepen their programming fundamentals.

Data StructuresListPython
0 likes · 13 min read
Master Python Lists, Tuples, and Dictionaries: Essential Guide with Code Examples
Python Programming Learning Circle
Python Programming Learning Circle
May 11, 2020 · Fundamentals

Understanding Python Decorators: A Practical Guide

This article explains the concept of Python decorators, demonstrates how they can replace repetitive input‑type checks in multiple string‑manipulation functions, and shows both the explicit decorator implementation and the concise @ syntax with clear code examples.

Pythoncode-reusedecorators
0 likes · 7 min read
Understanding Python Decorators: A Practical Guide
Python Programming Learning Circle
Python Programming Learning Circle
May 9, 2020 · Fundamentals

Fish Division Puzzle and Classic Sorting Algorithms (Merge, Selection, Bubble) with Python Implementations

This article presents a combinatorial fish‑division puzzle solved by exhaustive search with Python code, followed by clear explanations and Python implementations of three fundamental sorting algorithms—merge sort, selection sort, and bubble sort—illustrating their core ideas and step‑by‑step processes.

PythonSortingalgorithm
0 likes · 5 min read
Fish Division Puzzle and Classic Sorting Algorithms (Merge, Selection, Bubble) with Python Implementations
Python Programming Learning Circle
Python Programming Learning Circle
May 6, 2020 · Fundamentals

Python Performance Testing: Comparing Logical Operations, Built‑in Functions, and Class Implementations

This article examines Python execution speed by benchmarking simple arithmetic, logical checks, built‑in functions like max, and three class‑based point‑in‑rectangle implementations, revealing that straightforward if‑statements are often fastest while highlighting practical tips for writing performant Python code.

BenchmarkingCode OptimizationPython
0 likes · 12 min read
Python Performance Testing: Comparing Logical Operations, Built‑in Functions, and Class Implementations
Python Crawling & Data Mining
Python Crawling & Data Mining
May 1, 2020 · Big Data

What Drives Mother‑Baby E‑Commerce Sales? Data‑Driven Trends & Seasonality

Using a dataset of over 9 million baby records and 30 000 transaction entries, this analysis explores market trends, seasonal sales patterns, product popularity, and user demographics in China’s mother‑baby e‑commerce sector, revealing the impact of holidays, promotional events, and low repeat‑purchase rates on overall performance.

PythonTableaumother-baby market
0 likes · 15 min read
What Drives Mother‑Baby E‑Commerce Sales? Data‑Driven Trends & Seasonality
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.

PythonVersion Historyrelease
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.

Pythondata-analysisfundamentals
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.

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

CRUDEmployee ManagementFlask
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.

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

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

ContainerizationDatabase operationsPython
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.

ANNDeep LearningPython
0 likes · 10 min read
Introducing DeepMatch: An Open‑Source Library for Deep Retrieval Matching Algorithms
Python Programming Learning Circle
Python Programming Learning Circle
Apr 6, 2020 · Fundamentals

Understanding Python Class Inheritance: Five Common Techniques

This article explains the fundamentals of Python class inheritance, covering five typical ways to use parent class attributes and methods—including direct calls, super() for private members, method overriding, invoking __init__, and passing initialization parameters—accompanied by clear code examples.

ClassInheritanceMethod Overriding
0 likes · 6 min read
Understanding Python Class Inheritance: Five Common Techniques