Tagged articles

Python

5000 articles · Page 10 of 50
21CTO
21CTO
Sep 22, 2025 · Fundamentals

What’s Driving Python’s 2025 Surge? Survey Reveals AI, Web, and Rust Trends

Based on a survey of over 30,000 Python developers, the 2025 report shows half are newcomers, AI‑assisted coding is exploding, FastAPI leads web frameworks, most still run legacy versions, Rust‑based tools gain traction, and PostgreSQL remains the dominant database, shaping Python’s future direction.

AIDeveloper SurveyFastAPI
0 likes · 11 min read
What’s Driving Python’s 2025 Surge? Survey Reveals AI, Web, and Rust Trends
Data STUDIO
Data STUDIO
Sep 22, 2025 · Frontend Development

Is Pynecone the Full‑Stack Python Web Framework You’ve Been Waiting For?

This article introduces Pynecone, a Python‑only full‑stack web framework, explains its advantages over Flask/Django, walks through installation, project setup, and building a simple multiply/divide app with code examples, and highlights its suitability for data‑science dashboards and rapid prototyping.

Data Science AppsFull‑Stack Web FrameworkPynecone
0 likes · 13 min read
Is Pynecone the Full‑Stack Python Web Framework You’ve Been Waiting For?

Getting Started with Tree-sitter: High‑Performance Code Parsing and Multi‑Language SQL Extraction

Tree-sitter is a high‑performance incremental parsing library that supports over 50 languages; the article explains its core features, typical use cases such as editor syntax highlighting and static analysis, and walks through a concrete multi‑language SQL extraction implementation in Java, Python, and XML.

JavaPythonSQL extraction
0 likes · 6 min read
Getting Started with Tree-sitter: High‑Performance Code Parsing and Multi‑Language SQL Extraction
AI Algorithm Path
AI Algorithm Path
Sep 21, 2025 · Fundamentals

Mastering Python Virtual Environments: A Step‑by‑Step Guide

This article explains why Python virtual environments are essential for avoiding dependency conflicts, walks through creating and activating a venv, demonstrates installing, listing, and removing packages with pip, and shows how to manage requirements with a requirements.txt file.

Dependency ManagementPythonpip
0 likes · 8 min read
Mastering Python Virtual Environments: A Step‑by‑Step Guide
Python Programming Learning Circle
Python Programming Learning Circle
Sep 19, 2025 · Fundamentals

Compare Python Project Scaffolding: Cookiecutter, PyScaffold, PyBuilder, Poetry

This article reviews four popular Python project scaffolding and build tools—Cookiecutter, PyScaffold, PyBuilder, and Poetry—detailing their installation, generated directory structures, and typical make or tox commands, helping developers choose the most suitable workflow for organizing and packaging Python code.

Build ToolsCookiecutterPoetry
0 likes · 11 min read
Compare Python Project Scaffolding: Cookiecutter, PyScaffold, PyBuilder, Poetry
Python Programming Learning Circle
Python Programming Learning Circle
Sep 19, 2025 · Operations

Which Docker Base Image Is Best for Python Apps? A Practical Comparison

This article evaluates several Docker base images—Ubuntu, CentOS, Debian, Amazon Linux 2, official Python images, and Alpine—by examining stability, security updates, dependency freshness, library richness, Python version, image size, LTS support, and build time to help developers choose the optimal foundation for Python applications.

AlpineBase ImageDocker
0 likes · 17 min read
Which Docker Base Image Is Best for Python Apps? A Practical Comparison
Data STUDIO
Data STUDIO
Sep 18, 2025 · Artificial Intelligence

Build a RAG App from Scratch: Master Text Chunking, Vector Retrieval, and Coreference Resolution

This tutorial walks through building a Retrieval‑Augmented Generation (RAG) system from the ground up, covering document parsing, text chunking strategies, vector store creation with ChromaDB, semantic search, prompt engineering for LLMs, conversation memory, coreference handling, and practical optimization tips, all illustrated with complete Python code.

ChromaDBPythonRAG
0 likes · 19 min read
Build a RAG App from Scratch: Master Text Chunking, Vector Retrieval, and Coreference Resolution
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 18, 2025 · Fundamentals

Master Python’s With Statement: Build Elegant Context Managers for Safer Code

This tutorial explains why traditional try‑finally resource handling is cumbersome, introduces Python’s with statement and the underlying __enter__/__exit__ magic methods, provides practical examples such as timers, database connections, temporary directories, and shows how to simplify custom managers with contextlib while covering best practices and performance considerations.

Pythoncontext managerexception handling
0 likes · 10 min read
Master Python’s With Statement: Build Elegant Context Managers for Safer Code
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 17, 2025 · Fundamentals

Unlock Massive Memory Savings in Python with __slots__: A Complete Guide

This article explains how Python's default class memory overhead can be dramatically reduced using the __slots__ magic attribute, providing detailed code examples, memory and speed benchmarks, practical use cases, limitations, and best‑practice recommendations for developers who need high‑performance, memory‑efficient objects.

PerformancePython__slots__
0 likes · 12 min read
Unlock Massive Memory Savings in Python with __slots__: A Complete Guide
Fun with Large Models
Fun with Large Models
Sep 16, 2025 · Artificial Intelligence

LangGraph Data Analysis Assistant Agent: Step‑by‑Step Project Guide (Part 5)

This tutorial walks you through building a LangGraph-powered data analysis assistant that converts natural language into SQL, executes queries via NL2SQL and NL2Python tools, visualizes results with a Python interpreter, and deploys the agent using LangGraph CLI and Agent Chat UI for end‑to‑end interaction.

AI AgentAgent Chat UILangGraph
0 likes · 21 min read
LangGraph Data Analysis Assistant Agent: Step‑by‑Step Project Guide (Part 5)
Data STUDIO
Data STUDIO
Sep 15, 2025 · Artificial Intelligence

Build a Music Genre Classifier with KNN and MFCC from Scratch

This tutorial walks through building a music‑genre classification system using the GTZAN dataset, extracting MFCC features, implementing a K‑Nearest Neighbors classifier in Python, and achieving roughly 70% accuracy on test data.

KNNMFCCMachine Learning
0 likes · 14 min read
Build a Music Genre Classifier with KNN and MFCC from Scratch
Data STUDIO
Data STUDIO
Sep 15, 2025 · Artificial Intelligence

Understanding Linear and Logistic Regression: From MSE to Cross‑Entropy

The article explains linear regression and logistic regression fundamentals, covering loss functions such as mean‑squared error and cross‑entropy, analytic solutions, feature expansion for non‑linear separability, and provides Python code examples to illustrate the concepts.

Linear RegressionLogistic RegressionMachine Learning
0 likes · 7 min read
Understanding Linear and Logistic Regression: From MSE to Cross‑Entropy
Python Programming Learning Circle
Python Programming Learning Circle
Sep 13, 2025 · Fundamentals

30 Essential Python Tricks Every Developer Should Know

This article compiles thirty practical Python tips and best‑practice snippets—ranging from version checks, IPython shortcuts, list comprehensions, memory profiling, data classes, swapping variables, dictionary merging, string manipulation, emoji handling, image display, map usage, set operations, counters, chained comparisons, terminal colors, date parsing, integer division nuances, to character‑set detection—each illustrated with clear code examples for immediate use.

Pythonbest practicesprogramming
0 likes · 19 min read
30 Essential Python Tricks Every Developer Should Know
Python Programming Learning Circle
Python Programming Learning Circle
Sep 13, 2025 · Fundamentals

Master Python String Manipulation: 11 Essential Techniques

This guide walks you through eleven practical Python string operations—including case conversion, whitespace trimming, numeric checks, character replacement, splitting, prefix/suffix testing, formatting, encoding, joining, and binary conversion—each illustrated with clear code examples you can run instantly.

Pythonprogramming basics
0 likes · 6 min read
Master Python String Manipulation: 11 Essential Techniques
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 12, 2025 · Fundamentals

When Should You Use Threads, Processes, or Asyncio in Python? A Practical Guide

This article explains the difference between concurrency and parallelism, the impact of Python's GIL, and provides a detailed comparison of threading, multiprocessing, and asyncio with code examples, performance tests, decision flowcharts, best‑practice tips, and a summary table to help you choose the right concurrency model for your tasks.

Pythonthreading
0 likes · 14 min read
When Should You Use Threads, Processes, or Asyncio in Python? A Practical Guide
Architects Research Society
Architects Research Society
Sep 11, 2025 · Artificial Intelligence

15 Must‑Know Python Libraries Every Data Scientist Should Use

Discover the top 15 Python libraries that every data scientist should master, ranging from workflow frameworks like Kedro and low‑code tools such as PyCaret to powerful optimization and monitoring packages, each with brief descriptions and links to explore their capabilities.

AI toolsLibrariesPython
0 likes · 3 min read
15 Must‑Know Python Libraries Every Data Scientist Should Use
Dunmao Tech Hub
Dunmao Tech Hub
Sep 11, 2025 · Databases

Master LMDB with lmcmd: A Powerful Command-Line Client

lmcmd is a Python‑based command‑line client for the Lightning Memory‑Mapped Database (LMDB) that offers efficient key‑value operations, import/export, searching, and database management, with easy installation via pip and a Redis‑style interface for rapid debugging and data handling.

CLI toolLMDBPython
0 likes · 5 min read
Master LMDB with lmcmd: A Powerful Command-Line Client
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Sep 11, 2025 · Artificial Intelligence

8 Powerful Open‑Source AI Agent Frameworks to Master Agent Development

Building robust AI agents involves complex task decomposition, tool use, multi‑agent collaboration and memory, but this article surveys eight open‑source frameworks—Autogen, crewAI, agno, eliza, Mastra, Trigger.dev, Motia, and agents—detailing their capabilities, language support, star counts and key use‑cases to help developers get started.

AI AgentsFrameworksPython
0 likes · 6 min read
8 Powerful Open‑Source AI Agent Frameworks to Master Agent Development
21CTO
21CTO
Sep 10, 2025 · Fundamentals

What’s New in Calibre 8.10? Key Features and Fixes for Ebook Management

Calibre 8.10, the latest open‑source ebook management tool built with Python, introduces tooltip template customization, improved MTP driver support, enhanced keyboard preferences, and several bug fixes including Kindle APNX handling, Read Aloud restoration, and Markdown output recovery across Windows, macOS, and Linux.

CalibrePythonSoftware Update
0 likes · 3 min read
What’s New in Calibre 8.10? Key Features and Fixes for Ebook Management
IT Services Circle
IT Services Circle
Sep 10, 2025 · Fundamentals

How to Solve LeetCode 757: Minimum Set Intersection of Size Two with a Greedy Approach

The article first discusses common interview pitfalls before presenting a detailed greedy solution for LeetCode problem 757—finding the smallest set that intersects each interval in at least two points—complete with problem description, algorithmic reasoning, complexity analysis, and implementations in Java, C++, Python, and TypeScript.

C++JavaLeetCode 757
0 likes · 11 min read
How to Solve LeetCode 757: Minimum Set Intersection of Size Two with a Greedy Approach
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 10, 2025 · Fundamentals

Master Python Decorators: Boost Your Functions in Minutes

This article explains Python decorators with clear analogies, walks through the underlying concepts of higher‑order functions and closures, provides practical code examples such as timing and logging decorators, discusses common pitfalls like lost metadata, and shows how to preserve it using functools.wraps.

Best practiceHigher-order functionPython
0 likes · 10 min read
Master Python Decorators: Boost Your Functions in Minutes
Eric Tech Circle
Eric Tech Circle
Sep 10, 2025 · Artificial Intelligence

Deploy High‑Performance Local LLMs with vLLM: A Step‑by‑Step Guide

This article walks through installing and configuring vLLM for local large language model inference, compares it with Ollama and LM Studio, details environment setup, model download, testing scripts, and shows how to expose an OpenAI‑compatible API for production use.

ModelScopeOpenAI APIPython
0 likes · 11 min read
Deploy High‑Performance Local LLMs with vLLM: A Step‑by‑Step Guide
Python Programming Learning Circle
Python Programming Learning Circle
Sep 8, 2025 · Big Data

Unlocking E‑Commerce Insights: How Python & SQL Reveal User Behavior and Boost Sales

This article analyzes a JD e‑commerce dataset using Python and MySQL to calculate key metrics such as PV, UV, conversion rates, attrition, daily activity, hourly trends, user‑behavior funnels, purchase intervals, retention rates, product sales, and RFM segmentation, and then offers data‑driven recommendations to improve traffic, conversion, and user loyalty.

E‑commercePythonRFM
0 likes · 37 min read
Unlocking E‑Commerce Insights: How Python & SQL Reveal User Behavior and Boost Sales
IT Services Circle
IT Services Circle
Sep 8, 2025 · Fundamentals

How to Count Subarrays with Sum K Using Prefix Sum and HashMap

This article first highlights Ctrip's employee benefits, then presents the LeetCode 560 subarray sum problem with detailed explanations and multi-language implementations using prefix sum and hash map, including Java, C++, Python, and TypeScript solutions, and discusses time and space complexities.

AlgorithmC++Java
0 likes · 6 min read
How to Count Subarrays with Sum K Using Prefix Sum and HashMap
php Courses
php Courses
Sep 8, 2025 · Backend Development

Which Web Language Will Dominate by 2025? PHP, Python, or Node.js

This article evaluates PHP, Python, and Node.js across performance, ecosystem, trend adaptability, and community support, forecasting how each technology may evolve by 2025 and which scenarios could make one the preferred choice for developers.

2025 ForecastNode.jsPython
0 likes · 6 min read
Which Web Language Will Dominate by 2025? PHP, Python, or Node.js
Data STUDIO
Data STUDIO
Sep 8, 2025 · Artificial Intelligence

CuPy vs NumPy: Achieving Over 10× Speedup with GPU Acceleration

The article explains how replacing NumPy with the GPU‑compatible CuPy library can dramatically accelerate array computations, walks through installation prerequisites, demonstrates benchmark scripts showing up to ten‑fold speed improvements, discusses data type effects, custom kernels, and hybrid CPU‑GPU workflows for large‑scale data processing.

CUDACuPyGPU Acceleration
0 likes · 21 min read
CuPy vs NumPy: Achieving Over 10× Speedup with GPU Acceleration
Python Programming Learning Circle
Python Programming Learning Circle
Sep 6, 2025 · Fundamentals

Stop Reinventing the Wheel: Use Python’s Built‑In Queue for Fast, Thread‑Safe Tasks

Python developers often create simple queues with lists using append and pop(0), but this approach has O(n) complexity and thread‑safety issues; the article explains how the built‑in queue module provides efficient, thread‑safe FIFO, LIFO, and priority queues, with code examples for single‑thread and multithreaded task processing.

PythonQueuedeque
0 likes · 5 min read
Stop Reinventing the Wheel: Use Python’s Built‑In Queue for Fast, Thread‑Safe Tasks
Python Programming Learning Circle
Python Programming Learning Circle
Sep 5, 2025 · Fundamentals

10 Hidden Python Tricks to Supercharge Performance

This article reveals ten often‑overlooked Python performance techniques—from using enumerate and array structures to leveraging Numba, Polars, and generators—showing how careful coding, profiling, and modern libraries can turn sluggish scripts into lightning‑fast production workloads.

OptimizationPerformancePolars
0 likes · 9 min read
10 Hidden Python Tricks to Supercharge Performance
xkx's Tech General Store
xkx's Tech General Store
Sep 4, 2025 · Artificial Intelligence

First Hands‑On Exploration of OpenManus: Installation, Architecture, and Real‑World Tests

This article walks through installing OpenManus, explains its ReAct‑based architecture, and demonstrates two practical test cases—retrieving GitHub statistics and generating an animated HTML physics lesson—while highlighting strengths and current limitations of the agent framework.

Agent ArchitectureLLM agentsOpenManus
0 likes · 7 min read
First Hands‑On Exploration of OpenManus: Installation, Architecture, and Real‑World Tests
Data STUDIO
Data STUDIO
Sep 4, 2025 · Fundamentals

Seven Must‑Know Python 3.14 Features That Boost Performance and Developer Experience

The upcoming Python 3.14 release introduces seven major enhancements—including template strings (PEP 750), lazy type‑annotation evaluation (PEP 649), an external debugger API (PEP 768), native Zstandard compression (PEP 784), an upgraded REPL, UUID module improvements, and stricter finally‑block rules—each aimed at improving speed, safety, and usability for developers.

PythonREPLdebugger-api
0 likes · 11 min read
Seven Must‑Know Python 3.14 Features That Boost Performance and Developer Experience
xkx's Tech General Store
xkx's Tech General Store
Sep 4, 2025 · Artificial Intelligence

First Hands‑On with Camel AI‑OWL: Exploring a Multi‑Agent Framework

The article walks through installing the open‑source Camel AI‑OWL agent, explains its multi‑agent architecture, runs two practical test cases—retrieving GitHub statistics and generating a physics animation—and highlights strengths, UI shortcomings, tool‑registration issues, and the project's recent inactivity.

AI AgentsCamel AIMulti-agent
0 likes · 10 min read
First Hands‑On with Camel AI‑OWL: Exploring a Multi‑Agent Framework
DataFunSummit
DataFunSummit
Sep 3, 2025 · Artificial Intelligence

Demystifying MCP: A Simple Guide to Building LLM Tool Integration Servers

This article explains the Model Context Protocol (MCP), its three‑layer architecture, its core advantages, and step‑by‑step development of an MCP server in TypeScript (with Python and C++ examples), showing how LLMs can invoke tools for tasks like Unreal Engine code analysis.

LLMMCPPython
0 likes · 16 min read
Demystifying MCP: A Simple Guide to Building LLM Tool Integration Servers
IT Services Circle
IT Services Circle
Sep 3, 2025 · Fundamentals

Unlock Python’s Magic: Master Dunder Methods for Cleaner, Powerful Code

Learn how Python’s special “dunder” methods like __str__, __add__, __eq__, __iter__, and others let you customize object representation, arithmetic, comparison, and iteration, turning your classes into intuitive, built‑in‑type equivalents with clear examples and practical code snippets.

Object-OrientedPythoncode examples
0 likes · 8 min read
Unlock Python’s Magic: Master Dunder Methods for Cleaner, Powerful Code
Python Programming Learning Circle
Python Programming Learning Circle
Sep 2, 2025 · Fundamentals

10 Essential Python Libraries Every Developer Should Master

This article introduces ten highly useful Python libraries—youtube‑dl, Pillow, BeautifulSoup, pdfplumber, pyperclip, pydub, requests, pyautogui, Scrapy, openpyxl, and MoviePy—detailing their purpose, installation commands, and concise example code to help developers quickly apply them in real projects.

DevelopmentLibrariesPython
0 likes · 9 min read
10 Essential Python Libraries Every Developer Should Master
Data STUDIO
Data STUDIO
Sep 2, 2025 · Artificial Intelligence

Understanding NAS: Core Algorithms and Python Implementations

This article reviews Neural Architecture Search (NAS), explains its bi‑level optimization formulation, compares three major search strategies—reinforcement learning, evolutionary algorithms, and differentiable gradient‑based methods—provides complete Python code for each, and analyzes experimental results highlighting performance trade‑offs and remaining challenges.

Deep LearningDifferentiable Architecture SearchEvolutionary Algorithms
0 likes · 25 min read
Understanding NAS: Core Algorithms and Python Implementations
Python Programming Learning Circle
Python Programming Learning Circle
Sep 1, 2025 · Fundamentals

Why Python Dictionary Keys Overwrite Each Other: Hashing, Equality & Identity

This article explores three Python quirks: how dictionary keys with equal numeric values overwrite each other due to hashing and equality rules, why a return statement inside a try block is superseded by a return in the finally clause, and how object identity and id values behave, including hash collisions and memory reuse.

HashingPythondictionary
0 likes · 4 min read
Why Python Dictionary Keys Overwrite Each Other: Hashing, Equality & Identity
Data STUDIO
Data STUDIO
Sep 1, 2025 · Fundamentals

5 Python Libraries That Rescue Crashing Code

The article walks through five Python libraries—tqdm, Joblib, Pathlib, Cachetools, and Hydra—showing how each can turn buggy, slow, or hard‑to‑manage scripts into clearer, faster, and more maintainable code with concrete examples.

HydraPythoncachetools
0 likes · 5 min read
5 Python Libraries That Rescue Crashing Code
Fun with Large Models
Fun with Large Models
Sep 1, 2025 · Artificial Intelligence

Build a LangGraph AI Agent in Two Lines Using the Prebuilt Graph API

This tutorial shows how to set up a Python environment, install LangGraph, and use its high‑level prebuilt graph API—specifically create_react_agent—to quickly create a weather‑assistant AI agent with just two lines of code, illustrating the full tool‑calling workflow and ReACT loop.

AI AgentsLangGraphPython
0 likes · 11 min read
Build a LangGraph AI Agent in Two Lines Using the Prebuilt Graph API
Model Perspective
Model Perspective
Aug 31, 2025 · Fundamentals

Advanced Python Tricks: List Comprehensions, Async IO, Decorators & More

This article presents a comprehensive guide to advanced Python techniques, covering sophisticated syntax, powerful data structures, functional programming, concurrency with threading and asyncio, performance optimization using NumPy, Cython, Numba, and practical debugging and visualization tools, illustrated with clear code examples.

Advanced TechniquesData StructuresPerformance Optimization
0 likes · 11 min read
Advanced Python Tricks: List Comprehensions, Async IO, Decorators & More
Code Mala Tang
Code Mala Tang
Aug 31, 2025 · Fundamentals

Unlock Python’s Special Classes: Iterators, Context Managers, Descriptors & Metaclasses

This guide explores five special Python class types—iterators, context managers, descriptors, abstract base classes, and metaclasses—explaining their protocols, essential magic methods, practical use cases, and providing clear code examples to help you build custom implementations and write more expressive, maintainable code.

Abstract Base ClassesIteratorsPython
0 likes · 14 min read
Unlock Python’s Special Classes: Iterators, Context Managers, Descriptors & Metaclasses
Python Programming Learning Circle
Python Programming Learning Circle
Aug 30, 2025 · Fundamentals

Unlock Python’s First-Class Functions: From Basics to Advanced Functional Tricks

This article explains how Python treats functions as first‑class objects, showing how to assign them to variables, pass them as arguments, return them from other functions, store them in data structures, and use functional tools like lambda, map, filter, and reduce to write more reusable and expressive code.

First-Class FunctionsFunctional ProgrammingHigher-Order Functions
0 likes · 10 min read
Unlock Python’s First-Class Functions: From Basics to Advanced Functional Tricks
Code Mala Tang
Code Mala Tang
Aug 30, 2025 · Fundamentals

Why Python Never Overflows: The Secret of Arbitrary‑Precision Integers

Unlike fixed‑size integers in languages like C or Java, Python uses arbitrary‑precision integers that automatically expand, preventing overflow; this article explains the underlying CPython implementation, demonstrates the behavior with examples, and discusses the memory and performance trade‑offs of such limitless integers.

Arbitrary PrecisionCPythonPython
0 likes · 5 min read
Why Python Never Overflows: The Secret of Arbitrary‑Precision Integers
Code Mala Tang
Code Mala Tang
Aug 30, 2025 · Backend Development

Boost FastAPI Response Speed 5× with a One‑Line ORJSON Switch

Discover how replacing FastAPI’s default json module with the high‑performance ORJSON serializer can slash response latency, reduce CPU usage, and boost throughput up to five times—all with a single line of code and without altering existing endpoints.

FastAPIPerformance OptimizationPython
0 likes · 4 min read
Boost FastAPI Response Speed 5× with a One‑Line ORJSON Switch
Python Programming Learning Circle
Python Programming Learning Circle
Aug 28, 2025 · Fundamentals

11 Essential Pythonic Tricks to Write Cleaner, Faster Code

Discover 11 practical Pythonic techniques—from unpacking assignments and using zip to lambda functions, list comprehensions, placeholder passes, regex, map/reduce, and more—that enhance code readability, efficiency, and elegance, each illustrated with clear examples you can apply immediately.

LambdaPythoncode tricks
0 likes · 8 min read
11 Essential Pythonic Tricks to Write Cleaner, Faster Code
Python Programming Learning Circle
Python Programming Learning Circle
Aug 28, 2025 · Fundamentals

10 Surprising Python Behaviors That Can Trip Up Your Code

This article presents ten Python quiz questions that reveal unexpected language quirks—from bankers rounding and attribute lookup order to the behavior of empty iterables, negative string multiplication, and floating‑point precision limits—each explained with code examples and clear reasoning.

PythonQuizTraps
0 likes · 9 min read
10 Surprising Python Behaviors That Can Trip Up Your Code
Swan Home Tech Team
Swan Home Tech Team
Aug 27, 2025 · Artificial Intelligence

Why AutoGluon’s Smart Model Team Beats Traditional Tuning in Real-World AI

This guide explains how AutoGluon leverages bagging, cross‑validation, and stacked ensembling to automatically train and combine dozens of models, provides step‑by‑step installation and usage instructions for tabular, time‑series, and multimodal tasks, and shows practical deployment examples for industry scenarios.

AutoGluonAutoMLBagging
0 likes · 21 min read
Why AutoGluon’s Smart Model Team Beats Traditional Tuning in Real-World AI
Data STUDIO
Data STUDIO
Aug 27, 2025 · Fundamentals

Building a Lightweight State Machine with Python Enum

This article demonstrates how to implement a clear, maintainable state machine for a publishing workflow using Python's Enum type, covering state definitions, forward and backward transitions, validation, entry actions, and visualisation without external dependencies.

Design PatternEnumPython
0 likes · 7 min read
Building a Lightweight State Machine with Python Enum
Alibaba Cloud Big Data AI Platform
Alibaba Cloud Big Data AI Platform
Aug 26, 2025 · Big Data

How MaxCompute Evolves for Python & AI: From SDK to Native Distributed Engine

This article outlines MaxCompute's decade‑long evolution—from the early PyODPS SDK to the native Distributed Python Engine—highlights the challenges big‑data platforms face in the AI era, and showcases Data+AI solutions and real‑world case studies across multimodal processing, massive text deduplication, and autonomous‑driving data pipelines.

AI FunctionsBig DataData+AI
0 likes · 15 min read
How MaxCompute Evolves for Python & AI: From SDK to Native Distributed Engine
Python Programming Learning Circle
Python Programming Learning Circle
Aug 26, 2025 · Fundamentals

22 Handy Python Code Snippets Every Developer Should Know

This article presents 22 practical Python code snippets—from extracting vowels and capitalizing words to merging dictionaries, measuring execution time, shuffling lists, and chunking data—offering concise solutions for everyday programming tasks and helping readers write cleaner, more efficient code.

Pythonbasicscode snippets
0 likes · 11 min read
22 Handy Python Code Snippets Every Developer Should Know
Python Crawling & Data Mining
Python Crawling & Data Mining
Aug 26, 2025 · Fundamentals

Mastering Python Web Scraping: Clean Price Extraction with XPath Tricks

This article walks through a Python web‑scraping problem, demonstrates why the original XPath extraction returns noisy or missing price data, and provides multiple refined code solutions—including filtering empty entries, correcting XPath selectors, and using map‑filter techniques—to produce clean, formatted price lists.

Pythondata cleaninglxml
0 likes · 6 min read
Mastering Python Web Scraping: Clean Price Extraction with XPath Tricks
Data STUDIO
Data STUDIO
Aug 26, 2025 · Artificial Intelligence

How a Rolling Random Forest Strategy Predicts Bitcoin’s Weekly Direction

This article explains a Python‑based rolling random‑forest classifier that uses a 30‑day training window and selected technical indicators to forecast whether Bitcoin’s price will rise or fall over the next seven days, detailing the methodology, code, back‑test results, and limitations.

BitcoinMachine LearningPython
0 likes · 7 min read
How a Rolling Random Forest Strategy Predicts Bitcoin’s Weekly Direction
Data STUDIO
Data STUDIO
Aug 26, 2025 · Fundamentals

How Python Dunder Methods Make Your Code Cleaner and More Powerful

This article explains Python's dunder (double‑underscore) magic methods, showing how overriding __str__, __repr__, __add__, __eq__, __iter__, and others lets custom classes behave like built‑in types, with concrete examples such as Book, Wallet, and TransactionHistory.

Pythoncustom classesdunder methods
0 likes · 6 min read
How Python Dunder Methods Make Your Code Cleaner and More Powerful
JD Tech Talk
JD Tech Talk
Aug 25, 2025 · Artificial Intelligence

Kickstart Multi‑Agent Collaboration with OxyGent: A 20‑Line Setup Guide

This guide introduces the open‑source OxyGent multi‑agent framework, walks through a quick 20‑line installation, demonstrates environment configuration, tool integration, visualization, and advanced features such as RAG, Reflexion, and distributed deployment for AI applications.

AIMulti-agentOxyGent
0 likes · 4 min read
Kickstart Multi‑Agent Collaboration with OxyGent: A 20‑Line Setup Guide
JD Cloud Developers
JD Cloud Developers
Aug 25, 2025 · Artificial Intelligence

Kickstart Multi-Agent Collaboration with OxyGent: 20‑Line Setup Guide

This guide introduces the open‑source OxyGent multi‑agent framework, provides step‑by‑step installation, a 20‑line hello‑world example, tool integration via SSE, MCP and FunctionHub, deployment features like data persistence and distributed setup, and outlines advanced use cases such as multimodal agents and plan‑and‑solve paradigms.

AI FrameworkMulti-agentOxyGent
0 likes · 5 min read
Kickstart Multi-Agent Collaboration with OxyGent: 20‑Line Setup Guide
Data STUDIO
Data STUDIO
Aug 25, 2025 · Fundamentals

Why I Stopped Blindly Using Python Classes

The author reflects on years of overusing classes in Python, explains why simpler constructs like functions, dataclasses, dictionaries, and modules often yield clearer, more maintainable code, and outlines when class‑based design still makes sense.

ClassesPythonbest practices
0 likes · 7 min read
Why I Stopped Blindly Using Python Classes
Data Party THU
Data Party THU
Aug 24, 2025 · Artificial Intelligence

How to Build a Multi‑Agent AI Research Assistant with LangGraph

This article demonstrates how to construct a multi‑agent AI research assistant using the LangGraph framework, detailing the system’s shared state design, individual agent implementations for research, fact‑checking, and report generation, workflow orchestration, advanced patterns like dynamic routing and parallel execution, and performance considerations.

AI research assistantLangGraphPrompt Engineering
0 likes · 14 min read
How to Build a Multi‑Agent AI Research Assistant with LangGraph
Python Crawling & Data Mining
Python Crawling & Data Mining
Aug 23, 2025 · Fundamentals

How to Fix Python Library Installation Errors and Missing Dependencies

This guide walks you through common Python library installation issues—such as missing environment variables and absent dependencies—provides step‑by‑step screenshots, explains how to add the Python path to system variables, and shows how to use a reliable mirror with pip to install packages like netCDF4.

Dependency ManagementPythonlibrary installation
0 likes · 4 min read
How to Fix Python Library Installation Errors and Missing Dependencies
Code Mala Tang
Code Mala Tang
Aug 23, 2025 · Fundamentals

Decoding Python’s Underscore Conventions: From Throwaway Variables to Dunder Methods

This article explains the meaning behind Python’s various underscore patterns—single underscores for throwaway variables, leading underscores for internal use, double leading underscores for name‑mangling, dunder methods for special behavior, and trailing underscores to avoid keyword conflicts—helping developers write clearer, more idiomatic code.

Code styleNaming ConventionPython
0 likes · 6 min read
Decoding Python’s Underscore Conventions: From Throwaway Variables to Dunder Methods
Fun with Large Models
Fun with Large Models
Aug 22, 2025 · Artificial Intelligence

Step‑by‑Step Guide: Building a PDF‑Based RAG Knowledge Base with LangChain, Streamlit, DashScope & DeepSeek

This tutorial shows how to create a lightweight Retrieval‑Augmented Generation (RAG) system that indexes multiple PDF files, stores their embeddings in a FAISS vector database, and answers user queries through a LangChain agent powered by DashScope embeddings and the DeepSeek‑Chat model, all wrapped in a Streamlit UI.

DashScopeDeepSeekFAISS
0 likes · 13 min read
Step‑by‑Step Guide: Building a PDF‑Based RAG Knowledge Base with LangChain, Streamlit, DashScope & DeepSeek
Data STUDIO
Data STUDIO
Aug 21, 2025 · Industry Insights

Predicting Stock Market Movements with a Markov‑Chain State‑Transition Model

This article explains how to model short‑term stock market dynamics using a Markov‑chain framework, covering the theory of memoryless state transitions, construction of a transition matrix, multi‑step probability forecasts, steady‑state analysis, a full Python implementation, and a real‑world case study with its limitations.

Financial AnalysisMarkov chainPython
0 likes · 18 min read
Predicting Stock Market Movements with a Markov‑Chain State‑Transition Model