Tagged articles

Python

5000 articles · Page 14 of 50
Python Crawling & Data Mining
Python Crawling & Data Mining
Mar 15, 2025 · Fundamentals

5 Ways to Count Consecutive Elements in a Python List

This article walks through a Python list problem where you need to compute the length of consecutive identical elements, presenting five distinct code solutions with explanations, sample inputs, and output visualizations to help readers understand and apply the techniques.

Code examplesListPython
0 likes · 6 min read
5 Ways to Count Consecutive Elements in a Python List
Nightwalker Tech
Nightwalker Tech
Mar 15, 2025 · Artificial Intelligence

Guide to Accessing International AI Large Models via Aggregation Tools, APIs, and Python Code

This article introduces major international and domestic AI large models, recommends desktop aggregation tools and APIs such as POE, Monica, and OpenRouter, and provides complete Python code examples for synchronous and streaming text and multimodal conversations, along with additional API and compute‑rental resources.

AIAPIModel integration
0 likes · 11 min read
Guide to Accessing International AI Large Models via Aggregation Tools, APIs, and Python Code
AI Algorithm Path
AI Algorithm Path
Mar 14, 2025 · Artificial Intelligence

Understanding Different Types of AI Agents: From Simple Reflex to Multi‑Agent Systems

This article introduces the main categories of AI agents—including simple reflex, model‑based, goal‑based, utility‑based, learning, hierarchical, and multi‑agent systems—explaining their operating principles, typical use cases, advantages, limitations, and providing concrete Python code examples for each.

AI agentsAgent TypesMachine Learning
0 likes · 19 min read
Understanding Different Types of AI Agents: From Simple Reflex to Multi‑Agent Systems
Test Development Learning Exchange
Test Development Learning Exchange
Mar 14, 2025 · Fundamentals

Introduction to Common Python Standard Library Modules

This article introduces several essential Python standard library modules—including os, sys, datetime, math, random, json, re, sqlite3, argparse, logging, and collections—providing brief descriptions and example code snippets that demonstrate their basic usage for file handling, system information, date-time operations, mathematics, randomness, data serialization, regular expressions, database interaction, command-line parsing, logging, and advanced data structures.

ModulesProgramming FundamentalsPython
0 likes · 3 min read
Introduction to Common Python Standard Library Modules
php Courses
php Courses
Mar 14, 2025 · Fundamentals

Top 10 Application Areas of Python with Sample Code

This article introduces ten major fields where Python excels—including web development, data science, automation, web crawling, game development, desktop applications, DevOps, IoT, blockchain, and education—provides brief overviews, lists common tools or libraries, and supplies concise code examples for each use case.

AutomationGame DevelopmentIoT
0 likes · 9 min read
Top 10 Application Areas of Python with Sample Code
php Courses
php Courses
Mar 13, 2025 · Fundamentals

History, Features, and Applications of Python

This article outlines Python's origin in 1989, its evolution through major versions, highlights its simple syntax, powerful libraries, cross‑platform nature, and showcases its widespread use in web development, data analysis, AI, automation, web crawling, and game development.

ApplicationsPythondata analysis
0 likes · 4 min read
History, Features, and Applications of Python
Code Mala Tang
Code Mala Tang
Mar 13, 2025 · Fundamentals

Unlock Python’s Power: 10 Advanced Features Every Developer Should Master

This article explores ten advanced Python features—including context managers, metaclasses, coroutines, abstract base classes, descriptors, threading, duck typing, data classes, list comprehensions, and custom iterators—explaining their purpose, core syntax, and practical code examples to help developers write cleaner, more efficient code.

Advanced FeaturesData ClassesPython
0 likes · 9 min read
Unlock Python’s Power: 10 Advanced Features Every Developer Should Master
AI Code to Success
AI Code to Success
Mar 13, 2025 · Artificial Intelligence

Unlocking K-Nearest Neighbors: Theory, Implementation, and Real-World Tips

This article provides a comprehensive guide to the K‑Nearest Neighbors algorithm, covering its intuitive principle, step‑by‑step workflow, distance metrics, strategies for selecting the optimal K via cross‑validation, Python implementation with scikit‑learn, advantages, limitations, and diverse application scenarios.

Machine LearningPythonScikit-learn
0 likes · 24 min read
Unlocking K-Nearest Neighbors: Theory, Implementation, and Real-World Tips
Python Programming Learning Circle
Python Programming Learning Circle
Mar 12, 2025 · Fundamentals

Python Essentials: Strings, Collections, Iterators, and Decorators

This article presents a comprehensive collection of Python fundamentals, covering useful string methods like partition and translate, mutable versus immutable types and argument passing, tuple unpacking, dictionary utilities, set operations, iterator implementations, best practices for exception handling, and various decorator techniques with practical code examples.

CollectionsIteratorsPython
0 likes · 16 min read
Python Essentials: Strings, Collections, Iterators, and Decorators
JavaEdge
JavaEdge
Mar 12, 2025 · Artificial Intelligence

How to Analyze Chinese Sentiment Text Data: From Stats to Word Clouds

This article guides Java developers through a complete Chinese sentiment‑analysis dataset exploration, covering label distribution, sentence length statistics, vocabulary counts, adjective extraction, and visual word‑cloud generation using Python libraries such as pandas, seaborn, jieba, and wordcloud.

Data VisualizationNLPPython
0 likes · 10 min read
How to Analyze Chinese Sentiment Text Data: From Stats to Word Clouds
AI Code to Success
AI Code to Success
Mar 12, 2025 · Artificial Intelligence

Mastering K‑Means: Theory, Implementation, and Real‑World Applications

This comprehensive guide explores the K‑Means clustering algorithm, covering its mathematical foundation, step‑by‑step procedure, centroid initialization strategies, practical implementation with Python’s Scikit‑learn on the Iris dataset, evaluation metrics, optimization techniques, and diverse applications ranging from image segmentation to bioinformatics.

ClusteringK-MeansMachine Learning
0 likes · 31 min read
Mastering K‑Means: Theory, Implementation, and Real‑World Applications
AI Large Model Application Practice
AI Large Model Application Practice
Mar 10, 2025 · Backend Development

How to Build a Multi‑User Agent Backend with Docker Isolation

This guide walks through constructing a multi‑user, cloud‑hosted Agent‑as‑a‑Service platform using Docker containers for isolation, detailing the system architecture, required Docker image, container management API, tool implementations such as code execution and web browsing, and provides complete Python code examples for testing and deployment.

ContainerDockerMulti-user
0 likes · 12 min read
How to Build a Multi‑User Agent Backend with Docker Isolation
Code Mala Tang
Code Mala Tang
Mar 9, 2025 · Fundamentals

What Really Happens Inside Python When You Call a Function?

This article explains step by step how Python creates a function object, builds a call stack, handles parameters, executes the body, performs garbage collection, and manages recursion, illustrating each stage with clear code examples and diagrams.

Garbage CollectionParameter PassingPython
0 likes · 8 min read
What Really Happens Inside Python When You Call a Function?
Code Mala Tang
Code Mala Tang
Mar 8, 2025 · Fundamentals

10 Hidden Python Features That Can Supercharge Your Code

Discover ten powerful yet often overlooked Python features—from the walrus operator and generators to dataclasses and f‑strings—that can dramatically simplify code, boost performance, and enhance readability for developers of all levels.

Advanced FeaturesBest PracticesPython
0 likes · 8 min read
10 Hidden Python Features That Can Supercharge Your Code
Test Development Learning Exchange
Test Development Learning Exchange
Mar 7, 2025 · Fundamentals

Understanding Python Exception Handling: Syntax, Use Cases, and Best Practices

This article explains Python's exception handling mechanism, covering the basic try‑except syntax, how to catch single, multiple, or all exceptions, the use of else and finally blocks, creating custom exceptions, raising errors deliberately, and offers best‑practice recommendations for writing robust code.

Best PracticesPythonerror-management
0 likes · 6 min read
Understanding Python Exception Handling: Syntax, Use Cases, and Best Practices
Python Programming Learning Circle
Python Programming Learning Circle
Mar 7, 2025 · Operations

Using Python Scripts for Operations Automation: Remote Execution, Log Parsing, Monitoring, Deployment, and Backup

This article explains how operations engineers can leverage Python scripts and popular libraries such as paramiko, regex, psutil, fabric, and shutil to automate tasks like remote command execution, log analysis, system monitoring, batch deployment, and backup, thereby improving efficiency and reducing manual errors.

PythonScriptingoperations
0 likes · 10 min read
Using Python Scripts for Operations Automation: Remote Execution, Log Parsing, Monitoring, Deployment, and Backup
Test Development Learning Exchange
Test Development Learning Exchange
Mar 7, 2025 · Fundamentals

Mastering Polymorphism: 10 Real-World Python Examples and When to Use Them

This article explains the core concept of polymorphism in object‑oriented programming, distinguishes compile‑time and runtime polymorphism, and provides ten practical Python examples—from animal sounds and shape drawing to payment processing, file handling, logging, and game characters—illustrating when and how to apply each technique.

Design PatternsMethod OverloadingObject-Oriented Programming
0 likes · 9 min read
Mastering Polymorphism: 10 Real-World Python Examples and When to Use Them
Test Development Learning Exchange
Test Development Learning Exchange
Mar 6, 2025 · Fundamentals

Understanding Class Inheritance in Python: Basics, Overriding, Polymorphism, super() and Advanced Applications

This article explains Python class inheritance—from basic single inheritance and method overriding to polymorphism, super() calls, multiple inheritance, and design‑pattern implementations—providing code examples, usage scenarios, and best‑practice recommendations for writing reusable, extensible object‑oriented code.

Design PatternsPythoninheritance
0 likes · 10 min read
Understanding Class Inheritance in Python: Basics, Overriding, Polymorphism, super() and Advanced Applications
Cognitive Technology Team
Cognitive Technology Team
Mar 6, 2025 · Artificial Intelligence

From Traditional Machine Learning to Deep Learning: A Comprehensive Guide to Algorithms, Feature Engineering, and Model Training

This article provides a step‑by‑step tutorial that walks readers through the fundamentals of traditional machine‑learning algorithms, feature‑engineering techniques, model training pipelines, evaluation metrics, and then advances to deep‑learning concepts such as MLPs, activation functions, transformers, and modern recommendation‑system models.

Model TrainingPythonRecommendation Systems
0 likes · 63 min read
From Traditional Machine Learning to Deep Learning: A Comprehensive Guide to Algorithms, Feature Engineering, and Model Training
Test Development Learning Exchange
Test Development Learning Exchange
Mar 6, 2025 · Fundamentals

Understanding Class Attributes in Object‑Oriented Programming with Examples

This article explains the concept of class attributes in object‑oriented programming, contrasts them with instance attributes, and demonstrates ten practical scenarios—including shared data, default values, instance counting, singleton and factory patterns—through clear Python code examples and usage guidelines.

Class AttributesFactoryObject-Oriented Programming
0 likes · 10 min read
Understanding Class Attributes in Object‑Oriented Programming with Examples
Raymond Ops
Raymond Ops
Mar 5, 2025 · Fundamentals

Master Python ThreadPool and ProcessPool: Boost Concurrency and Performance

This article explains Python's multithreading and multiprocessing concepts, compares thread pools and process pools, provides practical code examples for task execution and file downloading, and offers performance tips and best practices for writing efficient concurrent programs.

MultiprocessingPerformancePython
0 likes · 14 min read
Master Python ThreadPool and ProcessPool: Boost Concurrency and Performance
Python Programming Learning Circle
Python Programming Learning Circle
Mar 5, 2025 · Fundamentals

Implementing a Python Singleton with Decorators

This article explains the singleton design pattern in Python, demonstrates how to implement it using a decorator with a wrapper class, provides step‑by‑step code examples, discusses its advantages, appropriate use cases, and cautions against overuse.

DecoratorPythonSingleton
0 likes · 7 min read
Implementing a Python Singleton with Decorators
Test Development Learning Exchange
Test Development Learning Exchange
Mar 5, 2025 · Fundamentals

Comprehensive Guide to File Operations in Python

This article provides a thorough introduction to Python file operations, covering basic concepts, opening and closing files, reading and writing techniques, advanced methods like binary handling and file pointer control, and includes practical code examples and best‑practice recommendations.

Code examplesFile I/OFundamentals
0 likes · 8 min read
Comprehensive Guide to File Operations in Python
Open Source Tech Hub
Open Source Tech Hub
Mar 4, 2025 · Backend Development

Unlock Python Power in PHP with phpy: New Features and Practical Examples

This article introduces phpy, an open‑source bridge that lets PHP import and execute Python packages, and walks through its latest features such as the with‑syntax, socket handle conversion, exception propagation, slicing, enum definition, annotated functions, and environment variable handling with concrete code samples.

EnumFunctionInterop
0 likes · 8 min read
Unlock Python Power in PHP with phpy: New Features and Practical Examples
Data STUDIO
Data STUDIO
Mar 4, 2025 · Backend Development

Super‑Modern Python Tools for 2025: Boosting Efficiency and Code Quality

This article reviews a suite of modern Python utilities—including uv for version management, Ruff for fast linting, mypy for static typing, Typer for type‑hinted CLI creation, and Rich for terminal styling—explaining their features, performance benefits, and practical usage examples on Python 3.11.

PythonRuffTyper
0 likes · 21 min read
Super‑Modern Python Tools for 2025: Boosting Efficiency and Code Quality
Code Mala Tang
Code Mala Tang
Mar 4, 2025 · Fundamentals

10 Game-Changing Python Performance Hacks You Should Know

This article presents ten practical Python performance optimization techniques—including list comprehensions, built‑in functions, generator expressions, set lookups, multiprocessing, caching, itertools, Cython/Numba, and profiling—to help developers write faster, more efficient code for large data and CPU‑intensive tasks.

Code EfficiencyPerformance optimizationPython
0 likes · 9 min read
10 Game-Changing Python Performance Hacks You Should Know
Code Mala Tang
Code Mala Tang
Mar 4, 2025 · Fundamentals

Essential Python Libraries: 100 Must‑Have Packages for Every Developer

This article presents a curated list of 100 essential Python libraries covering web development, AI and machine learning, data science, automation, DevOps, security, databases, game development, and various utility tools, helping developers boost productivity across diverse projects.

PythonWeb Developmentdata science
0 likes · 14 min read
Essential Python Libraries: 100 Must‑Have Packages for Every Developer
Python Programming Learning Circle
Python Programming Learning Circle
Mar 3, 2025 · Backend Development

ProgressPal: A Python Progress Tracker for Functions, Iterables, and Logs with Distributed and Parallel Support

ProgressPal is a Python library that extends tqdm‑style progress bars to track functions, iterables, and log messages across threads, processes, and distributed systems, offering a web‑based dashboard, logging server, and easy integration with threading, concurrent.futures, and joblib for collaborative monitoring.

Distributed MonitoringPythonprogress tracking
0 likes · 7 min read
ProgressPal: A Python Progress Tracker for Functions, Iterables, and Logs with Distributed and Parallel Support
Test Development Learning Exchange
Test Development Learning Exchange
Mar 3, 2025 · Fundamentals

Understanding Function Calls and References in Python

This article explains the core concepts of function calls and references in Python, covering basic definitions, common calling methods, advanced applications such as passing functions as arguments, returning functions, using functions as objects, and includes numerous code examples illustrating direct calls, indirect calls, decorators, closures, and callbacks.

Function CallsFunction ReferencesFunctions
0 likes · 9 min read
Understanding Function Calls and References in Python
Test Development Learning Exchange
Test Development Learning Exchange
Mar 2, 2025 · Fundamentals

Understanding Python Anonymous Functions (Lambda) with Practical Examples

This article introduces Python's anonymous (lambda) functions, explains their syntax and typical use cases, and provides a series of clear code examples—including calculations, map/filter/sorted operations, reduce, callbacks, and string formatting—while highlighting important considerations for readability and limitations.

Code examplesFunctional ProgrammingLambda
0 likes · 11 min read
Understanding Python Anonymous Functions (Lambda) with Practical Examples
Test Development Learning Exchange
Test Development Learning Exchange
Mar 2, 2025 · Fundamentals

Common Python Built‑in Functions with Examples

This article introduces Python's most frequently used built-in functions, such as len, type, print, range, sum, and others, providing clear explanations, practical use cases, and complete code examples to help readers understand and apply these essential tools for efficient programming.

Code examplesProgramming BasicsPython
0 likes · 13 min read
Common Python Built‑in Functions with Examples
Code Mala Tang
Code Mala Tang
Mar 2, 2025 · Fundamentals

6 Surprising Python Dictionary Tricks You Probably Didn’t Know

Discover six unexpected Python dictionary features—from insertion-order preservation in Python 3.7+, safe key access with .get(), immutable key requirements, the power of collections.defaultdict, the concise merge operator | in Python 3.9+, to using popitem() for stack-like behavior—each illustrated with clear code examples.

Code examplesData StructuresPython
0 likes · 4 min read
6 Surprising Python Dictionary Tricks You Probably Didn’t Know
Code Mala Tang
Code Mala Tang
Mar 1, 2025 · Fundamentals

Why Python’s deque Beats Lists for Fast Insertions: A Practical Guide

This article explains why Python lists are slow for head insertions and deletions, introduces the deque data structure from the collections module, compares their time complexities, and shows practical scenarios and code examples where deque provides superior performance and thread‑safety.

Data StructuresListPerformance
0 likes · 7 min read
Why Python’s deque Beats Lists for Fast Insertions: A Practical Guide
Test Development Learning Exchange
Test Development Learning Exchange
Feb 28, 2025 · Fundamentals

Understanding and Using Python Functions: Definitions, Examples, and Best Practices

This article introduces Python functions, explains their syntax and various use cases, and provides numerous code examples—including basic definitions, parameters, return values, default arguments, variable arguments, keyword arguments, docstrings, recursion, lambda expressions, higher‑order functions, and nested functions—to help readers write clean, reusable, and efficient code.

Code examplesFunctionsFundamentals
0 likes · 8 min read
Understanding and Using Python Functions: Definitions, Examples, and Best Practices
Code Mala Tang
Code Mala Tang
Feb 28, 2025 · Fundamentals

Why AI Code Generation Needs Test‑Driven Development: Avoid Hidden Bugs

This article explains how AI‑generated code can be fast but unreliable, and demonstrates how applying Test‑Driven Development (TDD) with concrete Python examples catches errors like stack overflows, edge‑case failures, and security issues, ensuring robust, maintainable software.

AIPythoncode generation
0 likes · 13 min read
Why AI Code Generation Needs Test‑Driven Development: Avoid Hidden Bugs
Code Mala Tang
Code Mala Tang
Feb 28, 2025 · Fundamentals

What’s New in Python 3.14 Alpha 3? Explore Key Features and Timeline

Python 3.14.0 Alpha 3 introduces delayed annotation evaluation, a new configuration C API, Sigstore‑based package verification, and improved error messages, while outlining critical release dates and how developers can test and contribute to the upcoming Python version.

Alpha ReleasePEP 649PEP 741
0 likes · 7 min read
What’s New in Python 3.14 Alpha 3? Explore Key Features and Timeline
Test Development Learning Exchange
Test Development Learning Exchange
Feb 28, 2025 · Fundamentals

Understanding Python Sets: Definition, Operations, and Practical Examples

This article introduces Python's set data structure, explains its unordered, unique, and mutable characteristics, demonstrates how to create sets, and provides eleven practical code examples covering basic definitions, element addition and removal, set operations like union, intersection, difference, subset checks, deduplication, iteration, and conditional filtering.

Data StructuresPythonSet
0 likes · 7 min read
Understanding Python Sets: Definition, Operations, and Practical Examples
Test Development Learning Exchange
Test Development Learning Exchange
Feb 28, 2025 · Fundamentals

Python Slicing: Syntax, Examples, and Best Practices

This article introduces Python's slicing syntax, explains its parameters, and provides eleven practical examples ranging from basic string and list slicing to advanced uses like negative indices, step values, and slice assignment, while highlighting performance considerations and best practices.

ListsPythonSlicing
0 likes · 8 min read
Python Slicing: Syntax, Examples, and Best Practices
ShiZhen AI
ShiZhen AI
Feb 27, 2025 · Artificial Intelligence

Step‑by‑Step Guide: Build Your Own Lerobot SO‑ARM100 Robotic Arm from Scratch

This article walks you through the entire process of assembling a low‑cost Lerobot SO‑ARM100 6‑DOF robotic arm, configuring its Feetech servos, calibrating motion, adding dual cameras for teleoperation, collecting a dataset, and training a reinforcement‑learning policy locally or on cloud GPUs, with detailed troubleshooting tips and code examples.

LerobotPythonSO-ARM100
0 likes · 16 min read
Step‑by‑Step Guide: Build Your Own Lerobot SO‑ARM100 Robotic Arm from Scratch
AI Code to Success
AI Code to Success
Feb 27, 2025 · Artificial Intelligence

Master Decision Trees: Theory, Construction, and Python Implementation

This article provides a comprehensive guide to decision tree algorithms, covering their theoretical foundations, key components, construction workflow—including data preprocessing, feature selection, tree growth, stopping criteria, and pruning—followed by an overview of popular variants like ID3, C4.5, CART, practical advantages, applications, and a complete Python implementation using scikit-learn.

Data preprocessingDecision TreeMachine Learning
0 likes · 29 min read
Master Decision Trees: Theory, Construction, and Python Implementation
Test Development Learning Exchange
Test Development Learning Exchange
Feb 26, 2025 · Fundamentals

Understanding Python's range() Function: Syntax, Usage, and Practical Examples

This article introduces Python's built‑in range() function, explains its syntax and parameters, and provides ten clear code examples that demonstrate basic counting, custom start‑stop values, step sizes, reverse iteration, list creation, summation, string traversal, bulk list updates, 2‑D coordinate generation, and spaced element access.

LoopsPythoniteration
0 likes · 7 min read
Understanding Python's range() Function: Syntax, Usage, and Practical Examples
Alibaba Cloud Big Data AI Platform
Alibaba Cloud Big Data AI Platform
Feb 25, 2025 · Artificial Intelligence

Accelerate DeepSeek‑V2‑Lite Deployment with FlashMLA: A Step‑by‑Step Guide

This tutorial walks users through installing FlashMLA, integrating it with the vLLM framework, downloading the DeepSeek‑V2‑Lite‑Chat model, benchmarking various MLA implementations, and running a local inference demo that shows FlashMLA’s speed advantage on long‑sequence generation.

DeepSeekFlashMLAInferenceOptimization
0 likes · 16 min read
Accelerate DeepSeek‑V2‑Lite Deployment with FlashMLA: A Step‑by‑Step Guide
Test Development Learning Exchange
Test Development Learning Exchange
Feb 25, 2025 · Fundamentals

Understanding Python Lists: Definition, Operations, and Practical Examples

This article explains Python lists, covering their definition, core characteristics, and a wide range of practical examples—from basic creation and indexing to slicing, nesting, comprehensions, and common operations such as appending, removing, sorting, and iterating—illustrating real‑world use cases for each.

Code examplesListsProgramming Fundamentals
0 likes · 5 min read
Understanding Python Lists: Definition, Operations, and Practical Examples
FunTester
FunTester
Feb 25, 2025 · Industry Insights

From Manual Tester to Automation Engineer: A Complete Career Roadmap and Learning Guide

This comprehensive guide walks software testers through the transition from basic functional testing to advanced automation, performance, and DevOps roles, offering a detailed learning roadmap, practical tips, and curated resources to boost skills, increase marketability, and secure higher‑pay positions in the testing industry.

AutomationCI/CDPython
0 likes · 28 min read
From Manual Tester to Automation Engineer: A Complete Career Roadmap and Learning Guide
AI Code to Success
AI Code to Success
Feb 25, 2025 · Artificial Intelligence

Master Logistic Regression: Theory, Practice, and Real‑World Tips

This comprehensive guide explains logistic regression fundamentals, the role of the Sigmoid function, loss and optimization methods, step‑by‑step Python implementation with data preparation, model training, evaluation, hyper‑parameter tuning, handling over‑ and under‑fitting, multi‑class extensions, and diverse application scenarios across medicine, finance, e‑commerce, and text analysis.

Machine LearningPythonScikit-learn
0 likes · 23 min read
Master Logistic Regression: Theory, Practice, and Real‑World Tips
Ops Development & AI Practice
Ops Development & AI Practice
Feb 24, 2025 · Fundamentals

Why Pipx Is the Secret Weapon for Clean Python Tool Management

pipx is a Python‑based CLI utility that installs and runs other Python command‑line tools in isolated virtual environments, keeping the global Python setup clean; the article explains its core features, why Ansible recommends it, its popularity, pros and cons, and provides step‑by‑step installation instructions.

AnsibleCLI ToolsPython
0 likes · 7 min read
Why Pipx Is the Secret Weapon for Clean Python Tool Management
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Feb 24, 2025 · Artificial Intelligence

Generate Game Code Instantly with DeepSeek V3 on Huawei Cloud

This tutorial walks you through configuring a Huawei Cloud host, installing the AutoGen framework, setting up DeepSeek V3 model API keys, and using the model to automatically generate Python code for a graphical two‑player battle game, complete with step‑by‑step instructions and sample commands.

AI code generationAutoGenDeepSeek
0 likes · 9 min read
Generate Game Code Instantly with DeepSeek V3 on Huawei Cloud
AI Code to Success
AI Code to Success
Feb 24, 2025 · Artificial Intelligence

Master Linear Regression: Concepts, Math, and Python Implementation

This comprehensive guide explores linear regression from its fundamental concepts and mathematical foundations to practical Python implementation with scikit‑learn, covering single‑ and multiple‑variable models, assumptions, loss functions, OLS and gradient‑descent solutions, evaluation metrics, advantages, limitations, and real‑world case studies.

Machine LearningPythongradient descent
0 likes · 21 min read
Master Linear Regression: Concepts, Math, and Python Implementation
Python Programming Learning Circle
Python Programming Learning Circle
Feb 22, 2025 · Fundamentals

10 Practical Python Scripts for Automation and Everyday Tasks

This article presents ten ready‑to‑use Python scripts covering file renaming, web image downloading, automated email sending, password generation, Excel processing, image compression, weather querying, PDF merging, text‑to‑speech conversion, and a simple Snake game, each with clear code examples and usage tips.

PythonScriptingutilities
0 likes · 10 min read
10 Practical Python Scripts for Automation and Everyday Tasks
Test Development Learning Exchange
Test Development Learning Exchange
Feb 22, 2025 · Fundamentals

Python Input/Output and Data Type Conversion Tutorial

This article introduces Python's input and output functions and demonstrates various data type conversion techniques through practical code examples, helping readers master essential programming fundamentals for building functional applications and improves their ability to handle user interaction and data processing.

FundamentalsInput/OutputProgramming Basics
0 likes · 7 min read
Python Input/Output and Data Type Conversion Tutorial
Code Mala Tang
Code Mala Tang
Feb 21, 2025 · Fundamentals

10 Must‑Try Python Scripts to Supercharge Your Daily Tasks

This guide presents ten practical Python scripts—from batch file renaming and web‑image downloading to email automation, password generation, Excel processing, image compression, weather lookup, PDF merging, text‑to‑speech, and a simple Snake game—each explained with clear scenarios, code examples, results, and handy tips for both beginners and seasoned developers.

Pythonproductivityscripts
0 likes · 10 min read
10 Must‑Try Python Scripts to Supercharge Your Daily Tasks
Python Programming Learning Circle
Python Programming Learning Circle
Feb 21, 2025 · Fundamentals

Comprehensive Overview of Common Sorting Algorithms with Python Implementations

This article provides a detailed introduction to common sorting algorithms—including bubble, selection, insertion, shell, merge, quick, heap, counting, bucket, and radix sorts—explaining their principles, time complexities, stability, and offering complete Python implementations with step-by-step explanations and visual demonstrations.

Pythoncomplexitysorting
0 likes · 21 min read
Comprehensive Overview of Common Sorting Algorithms with Python Implementations
Java Tech Enthusiast
Java Tech Enthusiast
Feb 21, 2025 · Fundamentals

TIOBE February 2025 Language Rankings and Performance Overview

The TIOBE February 2025 index shows Python leading, C++ rising to second, Go staying in the top ten and Rust hitting a 1.47 % share, while a 1‑billion‑loop benchmark on a MacBook Pro finds Zig, Rust and C finishing in ~0.5 s versus Python’s 31.6 s and R’s 72.6 s, and survey data highlight Python’s dominance across data analysis, web development, DevOps, web crawling, machine learning and education.

C++Programming LanguagesPython
0 likes · 6 min read
TIOBE February 2025 Language Rankings and Performance Overview
Test Development Learning Exchange
Test Development Learning Exchange
Feb 21, 2025 · Fundamentals

Understanding Variable Definition and Usage in Python

This article introduces Python variable fundamentals, explaining how to define, assign, and manipulate variables of various types—including integers, floats, strings, booleans, lists, and dictionaries—through ten clear examples that illustrate common programming scenarios.

Programming BasicsPythonVariables
0 likes · 5 min read
Understanding Variable Definition and Usage in Python
Sohu Tech Products
Sohu Tech Products
Feb 19, 2025 · Mobile Development

Appium Mobile UI Automation Testing Workflow with Python

This guide walks through setting up Appium with the UiAutomator2 driver, verifying the environment, writing a Python script that connects to the Appium server, using weditor or uiautomatorviewer to inspect Android UI elements, and applying ID or XPath locators to automate clicks in the Zepp app.

AndroidAppiumPython
0 likes · 8 min read
Appium Mobile UI Automation Testing Workflow with Python
AI Algorithm Path
AI Algorithm Path
Feb 19, 2025 · Artificial Intelligence

How Temperature Shapes Output in Large Language Models

The article explains the Temperature hyper‑parameter in large language models, shows how it modifies the softmax distribution, provides a Python visualisation script, and demonstrates through experiments that higher values increase creativity while lower values make outputs more deterministic.

Large language modelsPythonTemperature
0 likes · 5 min read
How Temperature Shapes Output in Large Language Models
Java Architecture Stack
Java Architecture Stack
Feb 19, 2025 · Fundamentals

Master Python Linked List: Reverse and Merge Techniques Explained

This article explains practical Python implementations for reversing a linked list using iterative and recursive approaches, merging two or multiple sorted linked lists, handling edge cases such as empty inputs, and includes complete code samples with complexity analysis for each method.

Data StructuresPythonalgorithm
0 likes · 12 min read
Master Python Linked List: Reverse and Merge Techniques Explained
MaGe Linux Operations
MaGe Linux Operations
Feb 19, 2025 · Fundamentals

Master Python Iterators & Generators: List Comprehensions, Memory‑Efficient Loops, and Fibonacci

This article explains Python's list comprehensions, demonstrates how to create and use generators for memory‑efficient iteration, compares iterators and iterable objects, and provides practical code examples including a generator‑based Fibonacci sequence, helping readers understand and apply these core concepts in their programs.

IteratorsMemory EfficiencyPython
0 likes · 6 min read
Master Python Iterators & Generators: List Comprehensions, Memory‑Efficient Loops, and Fibonacci