Tagged articles

Python

5000 articles · Page 20 of 50
Top Architect
Top Architect
Oct 26, 2024 · Information Security

WiFi Password Cracking Tool Using Python and PyWiFi

This article demonstrates how to build a Python GUI tool with Tkinter and the PyWiFi library to scan nearby Wi‑Fi networks, load a password dictionary, and perform brute‑force attempts to discover the correct Wi‑Fi password, including environment setup, code snippets, and execution results.

PythonTkinterWiFi
0 likes · 13 min read
WiFi Password Cracking Tool Using Python and PyWiFi
Test Development Learning Exchange
Test Development Learning Exchange
Oct 26, 2024 · Fundamentals

Master 24 Essential Python Tricks to Write Cleaner, Faster Code

This comprehensive guide walks you through 24 powerful Python techniques—from list, dictionary, and set comprehensions to advanced modules like itertools, functools, and asyncio—showing concise syntax, practical examples, and best practices that help you write more efficient, readable, and maintainable code.

Advanced TechniquesComprehensionsModules
0 likes · 14 min read
Master 24 Essential Python Tricks to Write Cleaner, Faster Code
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 26, 2024 · Databases

Export MongoDB Data to CSV, Excel, JSON and More with mongo2file

This article introduces the mongo2file Python library that converts MongoDB collections into various table formats such as CSV, Excel, JSON, Pickle, Feather, and Parquet, explains its PyArrow dependency, shows installation and usage examples, discusses performance bottlenecks, and provides API reference details.

CSVData ExportExcel
0 likes · 11 min read
Export MongoDB Data to CSV, Excel, JSON and More with mongo2file
Test Development Learning Exchange
Test Development Learning Exchange
Oct 25, 2024 · Fundamentals

Implementing Dynamic Progress Bars in Python: Using tqdm, Manual Methods, and Various Libraries

This article explains how to create dynamic command‑line progress bars in Python, covering the easy‑to‑use tqdm library, a manual implementation with sys and time, and several alternative libraries such as colorama, rich, alive‑progress, click, progressbar2, and pyfiglet, each with code examples and installation instructions.

Pythoncoloramacommand line
0 likes · 10 min read
Implementing Dynamic Progress Bars in Python: Using tqdm, Manual Methods, and Various Libraries
YiSu Grain
YiSu Grain
Oct 25, 2024 · Fundamentals

Understanding Treap: A Balanced Tree Explained

This article explains the treap data structure, detailing how each node stores a key and a priority to satisfy both binary‑search‑tree ordering and heap ordering, and walks through insertion, rotation, deletion, and a full Python implementation with concrete examples.

Data StructuresHeapPython
0 likes · 14 min read
Understanding Treap: A Balanced Tree Explained
Test Development Learning Exchange
Test Development Learning Exchange
Oct 24, 2024 · Fundamentals

Common Built‑in Functions and Popular Third‑Party Libraries in Python with Examples

This article lists essential Python built‑in functions, introduces widely used third‑party libraries such as NumPy, Pandas, Matplotlib, Scikit‑learn, TensorFlow, Requests, Beautiful Soup, Flask/Django, SQLAlchemy, SciPy, Pillow and OpenCV, and provides concrete code examples demonstrating their usage.

PythonThird‑party librariesbuilt-in functions
0 likes · 21 min read
Common Built‑in Functions and Popular Third‑Party Libraries in Python with Examples
YiSu Grain
YiSu Grain
Oct 23, 2024 · Fundamentals

Understanding Fenwick Tree: A Step‑by‑Step Guide

This article explains how a Fenwick (Binary Indexed) Tree stores prefix sums using binary representations and the least‑significant‑bit trick, shows concrete examples for computing sums of sub‑arrays, and provides a full Python implementation with update and query operations.

Binary Indexed TreeFenwick treePrefix Sum
0 likes · 9 min read
Understanding Fenwick Tree: A Step‑by‑Step Guide
Test Development Learning Exchange
Test Development Learning Exchange
Oct 23, 2024 · Fundamentals

Understanding Race Conditions, Deadlocks, Resource Contention, and Data Consistency in Multithreaded Python

This article explains common multithreading problems such as race conditions, deadlocks, resource contention, and data consistency issues, and provides Python code examples that demonstrate synchronization techniques, lock ordering, connection pooling, thread pools, and transaction management to ensure correct and stable concurrent execution.

Pythondata consistencydeadlock
0 likes · 10 min read
Understanding Race Conditions, Deadlocks, Resource Contention, and Data Consistency in Multithreaded Python
Test Development Learning Exchange
Test Development Learning Exchange
Oct 22, 2024 · Operations

Key Linux Server Performance Metrics, Monitoring Tools, and a Python Script for Automated Data Collection

When testing Linux server performance, you should monitor key metrics such as CPU usage, memory consumption, disk I/O, network bandwidth, process information, file system usage, system logs, boot and response times, context switches, and interrupts, using tools like top, vmstat, iostat, netstat, and custom Python scripts.

LinuxPerformance MonitoringPython
0 likes · 8 min read
Key Linux Server Performance Metrics, Monitoring Tools, and a Python Script for Automated Data Collection
YiSu Grain
YiSu Grain
Oct 22, 2024 · Fundamentals

How Segment Trees Enable Lightning‑Fast Range Sum Queries

This article explains the segment tree data structure, showing how to build it both bottom‑up and recursively, how node indexing works, and how the query algorithm skips irrelevant intervals to compute range sums in logarithmic time, complete with Python code examples and performance tips.

Pythonbinary treebottom‑up construction
0 likes · 18 min read
How Segment Trees Enable Lightning‑Fast Range Sum Queries
php Courses
php Courses
Oct 22, 2024 · Backend Development

Structured Approach for Migrating Python Functions to PHP

This guide outlines a systematic method for tracking, testing, and documenting the migration of Python functions to PHP, including creating a mapping table, using version control, writing unit tests, recording edge cases, and conducting regular progress reviews to ensure code quality and functional equivalence.

BackendPHPPython
0 likes · 4 min read
Structured Approach for Migrating Python Functions to PHP
YiSu Grain
YiSu Grain
Oct 21, 2024 · Fundamentals

Designing an Intelligent Travel Planner with Dijkstra’s Algorithm to Boost Trip Efficiency

This article walks through the design of an intelligent travel‑planning system that uses Dijkstra’s algorithm to compute the minimum travel cost to each city while maximizing the number of cities visited, detailing problem formulation, algorithmic steps, variable initialization, edge‑relaxation logic, and a full Python implementation.

DijkstraPythongraph algorithm
0 likes · 18 min read
Designing an Intelligent Travel Planner with Dijkstra’s Algorithm to Boost Trip Efficiency
Test Development Learning Exchange
Test Development Learning Exchange
Oct 20, 2024 · Backend Development

Python Examples of Distributed Task Queues, Message Brokers, RPC, and Serialization Libraries

This article provides practical Python code examples for various messaging and serialization tools—including Celery, RQ, Huey, ZeroMQ, kafka‑python, Pika, stomp.py, nats‑py, gRPC, Thrift, Protobuf, Avro, msgpack, and Flatbuffers—demonstrating how to set up producers, consumers, and services for asynchronous processing and data exchange.

Distributed TasksPythonRPC
0 likes · 19 min read
Python Examples of Distributed Task Queues, Message Brokers, RPC, and Serialization Libraries
21CTO
21CTO
Oct 19, 2024 · Fundamentals

Why Does Python Still Use the GIL? Understanding Its Role and Alternatives

Python's Global Interpreter Lock (GIL) serializes thread execution to protect memory, but in today's multicore era it creates performance bottlenecks; this article explains what the GIL is, why it exists, its impact on multithreading, and how multiprocessing can bypass its limitations.

GILPythonmultiprocessing
0 likes · 6 min read
Why Does Python Still Use the GIL? Understanding Its Role and Alternatives
IT Services Circle
IT Services Circle
Oct 19, 2024 · Fundamentals

Understanding Python's Virtual Machine Execution and Runtime Stack

This article explains how the Python interpreter initializes its runtime environment, compiles source code into PyCodeObject bytecode, creates stack frames, and executes the bytecode using functions like PyEval_EvalFrame and _PyEval_EvalFrameDefault while detailing the role of the runtime stack and its associated C macros.

C++Programming FundamentalsPython
0 likes · 21 min read
Understanding Python's Virtual Machine Execution and Runtime Stack
YiSu Grain
YiSu Grain
Oct 19, 2024 · Fundamentals

How Heap and Recursion Can Select the Best Tourist Attractions

The article explains how to use a max‑heap together with backtracking and a greedy strategy in Python to recommend the top three attractions with the highest scores while keeping the total travel distance under 20 km, and discusses the algorithm's steps, example execution, and limitations.

Data StructuresHeapPython
0 likes · 12 min read
How Heap and Recursion Can Select the Best Tourist Attractions
Test Development Learning Exchange
Test Development Learning Exchange
Oct 18, 2024 · Fundamentals

Comprehensive Python 3 Basics: Syntax, Data Types, Control Flow, Functions, Modules, and More

This article provides a thorough introduction to Python 3, covering fundamental syntax, core data types, operators, control structures, functions, modules, file I/O, error handling, object‑oriented concepts, and common standard‑library utilities, complete with runnable code examples for each topic.

Data TypesFunctionsPython
0 likes · 24 min read
Comprehensive Python 3 Basics: Syntax, Data Types, Control Flow, Functions, Modules, and More
Satori Komeiji's Programming Classroom
Satori Komeiji's Programming Classroom
Oct 18, 2024 · Fundamentals

How Python’s Virtual Machine Executes Bytecode: Step‑by‑Step Process

This article explains how the Python interpreter, after runtime initialization, creates a stack frame, invokes a series of C functions such as PyEval_EvalCode, _PyEval_Vector, and _PyEval_EvalFrameDefault to traverse and execute bytecode, and details the underlying runtime stack structures and macro APIs that support instruction evaluation.

C APIPyEvalPython
0 likes · 25 min read
How Python’s Virtual Machine Executes Bytecode: Step‑by‑Step Process
YiSu Grain
YiSu Grain
Oct 17, 2024 · Fundamentals

Exploring Shortest Path: A Dijkstra Adventure

This article walks through the problem of finding the shortest route in a smart‑traffic graph, explains Dijkstra's greedy algorithm step by step, illustrates the process with a narrative example, and provides complete Python code using heapq for priority‑queue management.

DijkstraGraph AlgorithmsHeapq
0 likes · 30 min read
Exploring Shortest Path: A Dijkstra Adventure
Test Development Learning Exchange
Test Development Learning Exchange
Oct 17, 2024 · Fundamentals

Iterating Dictionaries in Python: Keys, Values, Items, enumerate, Conditional Filtering, and Comprehensions

This guide demonstrates six common ways to iterate over Python dictionaries—including traversing keys, values, key‑value pairs, using enumerate for indexed access, applying conditional filters within loops, and employing dict comprehensions for efficient transformation—while explaining the appropriate use cases and performance considerations.

ItemsKEYSPython
0 likes · 5 min read
Iterating Dictionaries in Python: Keys, Values, Items, enumerate, Conditional Filtering, and Comprehensions
YiSu Grain
YiSu Grain
Oct 16, 2024 · Fundamentals

How to Build a Greenhouse Auto‑Control System in Python

This article walks through implementing a greenhouse automatic control system in Python, using a deque to store temperature‑humidity readings, defining a GreenhouseControlSystem class with methods for adding data, checking thresholds, and simulating the process, and explains the design choices.

OOPPythonSimulation
0 likes · 5 min read
How to Build a Greenhouse Auto‑Control System in Python
YiSu Grain
YiSu Grain
Oct 16, 2024 · Fundamentals

Understanding BFS Without Any Coding Experience

This article explains the breadth‑first search algorithm step by step, modeling a 0/1 grid as a graph, showing how a queue and a visited set work, and providing a complete Python implementation that finds the shortest path in a maze.

BFSBreadth-First SearchPathfinding
0 likes · 12 min read
Understanding BFS Without Any Coding Experience
Test Development Learning Exchange
Test Development Learning Exchange
Oct 15, 2024 · Fundamentals

Python Fundamentals: Decorators, List Comprehensions, Generators, Exception Handling, Modules, Threading, Copying, Garbage Collection, *args/**kwargs, Closures, Methods, Process vs Thread, Database Differences, Data Structures, and API Testing

This article provides a comprehensive overview of essential Python concepts—including decorators, list comprehensions, generators, exception handling, modules, threading, shallow and deep copying, garbage collection, variable arguments, closures, method types, process‑thread differences, relational vs NoSQL databases, array vs linked‑list structures, and the distinction between HTTP and Web Service API testing—illustrated with clear explanations and runnable code examples.

Data StructuresPythondecorators
0 likes · 10 min read
Python Fundamentals: Decorators, List Comprehensions, Generators, Exception Handling, Modules, Threading, Copying, Garbage Collection, *args/**kwargs, Closures, Methods, Process vs Thread, Database Differences, Data Structures, and API Testing
21CTO
21CTO
Oct 15, 2024 · Artificial Intelligence

Why Mojo Could Redefine AI Programming: Insights from Chris Lattner

The article explores Chris Lattner’s vision for Mojo—a Python‑compatible language designed for AI, GPU, and accelerator workloads—detailing its performance claims, SIMD support, complex‑number handling, and the growing developer community behind it.

AIMojoPython
0 likes · 9 min read
Why Mojo Could Redefine AI Programming: Insights from Chris Lattner
YiSu Grain
YiSu Grain
Oct 15, 2024 · Fundamentals

Master Python Data Structures One by One: Lists, Stacks, Queues, Linked Lists, Trees, Heaps, and Graphs

This comprehensive guide walks you through Python's core data structures—including lists, stacks, queues, linked lists, trees, heaps, and graphs—explaining their characteristics, common operations, and step‑by‑step code examples, while also covering related algorithms such as recursion, depth‑first and breadth‑first search, cycle detection, and Dijkstra's shortest‑path algorithm.

AlgorithmsData StructuresGraph
0 likes · 77 min read
Master Python Data Structures One by One: Lists, Stacks, Queues, Linked Lists, Trees, Heaps, and Graphs
JavaEdge
JavaEdge
Oct 14, 2024 · Artificial Intelligence

Deploying LLMs with LangServe: A Complete Guide from Setup to Client Calls

This article introduces LangServe, explains its key features for LLM deployment, walks through environment setup, shows how to build a FastAPI‑based REST API with code examples, demonstrates testing via Postman and remote client calls, and summarizes its benefits for AI model serving.

AI model servingFastAPILLM deployment
0 likes · 9 min read
Deploying LLMs with LangServe: A Complete Guide from Setup to Client Calls
Test Development Learning Exchange
Test Development Learning Exchange
Oct 14, 2024 · Fundamentals

Understanding async and await in Python with Practical Examples

This article introduces Python's async and await keywords, explains how they enable coroutine programming, and provides multiple practical examples including simple coroutine definitions, awaiting tasks, concurrent execution with asyncio.gather, HTTP requests using aiohttp, and resource management with custom coroutine-based managers.

Pythonasyncasyncio
0 likes · 6 min read
Understanding async and await in Python with Practical Examples
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 14, 2024 · Fundamentals

Understanding Exception Handling in Python

This article provides a comprehensive guide to Python exception handling, covering the concept of exceptions, built‑in exception types, the try‑except‑else‑finally structure, custom exception creation, debugging techniques with assert and logging, and a practical file‑operation example to build robust programs.

PythonTutorialerror handling
0 likes · 8 min read
Understanding Exception Handling in Python
Test Development Learning Exchange
Test Development Learning Exchange
Oct 13, 2024 · Fundamentals

Creating Parameterized Decorators in Python: Logging, Performance, Authentication, Caching, and File Logging

This article demonstrates how to create various parameterized decorators in Python—including logging, performance measurement, authentication, caching, and file logging—by providing clear explanations and complete code examples for each use case in practical applications.

AuthenticationDecoratorPerformance
0 likes · 8 min read
Creating Parameterized Decorators in Python: Logging, Performance, Authentication, Caching, and File Logging
Test Development Learning Exchange
Test Development Learning Exchange
Oct 12, 2024 · Fundamentals

Python Programming Fundamentals: A Comprehensive Beginner's Guide

This tutorial introduces Python basics, covering installation, syntax, data types, control structures, functions, modules, file operations, exception handling, object-oriented programming, and a simple calculator project, providing clear explanations, practical code examples, and step-by-step guidance for beginners to start coding in Python.

PythonTutorialfundamentals
0 likes · 12 min read
Python Programming Fundamentals: A Comprehensive Beginner's Guide
Java Tech Enthusiast
Java Tech Enthusiast
Oct 12, 2024 · Fundamentals

Simplifying Driver Assignment Logic: Guard Clauses, Decision Tables, and Function Composition

The article shows how to replace the taxi‑hailing app’s deeply nested driver‑assignment if‑statements with early‑exit guard clauses, data‑driven decision tables, and composable functions, thereby flattening the logic, enhancing readability, simplifying testing, and making future extensions easier to implement.

JavaScriptPythondecision tables
0 likes · 6 min read
Simplifying Driver Assignment Logic: Guard Clauses, Decision Tables, and Function Composition
Test Development Learning Exchange
Test Development Learning Exchange
Oct 12, 2024 · Fundamentals

Comprehensive Guide to Common pytest Assertion Techniques

This article introduces the core assertion methods in pytest, covering basic assertions, multiple assertions, exception handling, specific exception messages, list and dictionary checks, floating‑point approximations, string and tuple validation, subset verification, and log capture, each illustrated with clear Python code examples.

Pythonassertionspytest
0 likes · 8 min read
Comprehensive Guide to Common pytest Assertion Techniques
Test Development Learning Exchange
Test Development Learning Exchange
Oct 11, 2024 · Backend Development

Comprehensive Python Scripts for Property Management System Functions

This article provides a collection of Python scripts that cover essential property management system features such as resident data handling, automated payment reminders, monthly report generation, emergency notifications, maintenance request processing, visitor logging, facility booking, vehicle entry/exit tracking, announcement publishing, and database backup.

Backend DevelopmentPythondatabase
0 likes · 12 min read
Comprehensive Python Scripts for Property Management System Functions
YiSu Grain
YiSu Grain
Oct 11, 2024 · Artificial Intelligence

How to Build and Visualize Polynomial Regression in Python

This article walks through loading CSV data, fitting both linear and degree‑6 polynomial regression models with scikit‑learn, and visualizing the original points, fitted lines, and predictions on test data using matplotlib.

Data VisualizationLinear RegressionPolynomial Regression
0 likes · 5 min read
How to Build and Visualize Polynomial Regression in Python
Test Development Learning Exchange
Test Development Learning Exchange
Oct 10, 2024 · Backend Development

Python Financial Data Processing with Excel

This guide provides a comprehensive tutorial on using Python libraries such as pandas, openpyxl, and matplotlib for financial data processing, including reading/writing Excel files, data manipulation, and visualization techniques.

Pythonfinancial datapandas
0 likes · 11 min read
Python Financial Data Processing with Excel
21CTO
21CTO
Oct 10, 2024 · Artificial Intelligence

5 Practical AI Projects to Build Your Skills with Python

This article presents five hands‑on AI project ideas—from resume optimization to multimodal search—complete with step‑by‑step instructions, required Python libraries, and code snippets, helping beginners and intermediate developers quickly build valuable AI applications.

AILLMPython
0 likes · 12 min read
5 Practical AI Projects to Build Your Skills with Python
Python Programming Learning Circle
Python Programming Learning Circle
Oct 10, 2024 · Backend Development

Python Web Scraping Techniques: Requests, Proxies, Cookies, Headers, Captcha, Gzip, and Multithreading

This article outlines essential Python web‑scraping techniques, covering basic GET/POST requests, proxy usage, cookie handling, header manipulation to mimic browsers, simple captcha solutions, gzip compression handling, and multithreaded crawling with a thread‑pool template, providing practical code examples for each step.

GZIPProxyPython
0 likes · 5 min read
Python Web Scraping Techniques: Requests, Proxies, Cookies, Headers, Captcha, Gzip, and Multithreading
Test Development Learning Exchange
Test Development Learning Exchange
Oct 9, 2024 · Backend Development

Comprehensive Python Scripts for Generating Random Test Data Using Faker and Standard Libraries

This article provides a comprehensive collection of Python scripts that use Faker and standard libraries to generate a wide variety of random data types—including strings, numbers, dates, emails, addresses, files, media, and HTTP components—along with installation instructions and usage examples for testing APIs.

FakerPythonRandom Data
0 likes · 11 min read
Comprehensive Python Scripts for Generating Random Test Data Using Faker and Standard Libraries
Python Programming Learning Circle
Python Programming Learning Circle
Oct 9, 2024 · Backend Development

Why Choose Sanic: An Asynchronous Python Web Framework for Production

The article compares traditional Python web frameworks with modern asynchronous alternatives, presents benchmark results showing Sanic’s superior speed, discusses the importance of avoiding blocking I/O, and highlights Sanic’s ecosystem, production readiness, documentation, and community support for developers seeking high‑performance backend solutions.

BackendPythonWeb Framework
0 likes · 10 min read
Why Choose Sanic: An Asynchronous Python Web Framework for Production
YiSu Grain
YiSu Grain
Oct 9, 2024 · Artificial Intelligence

Implementing Linear Regression with scikit-learn and Comparing to Gradient Descent

This article demonstrates how to build a multivariate linear regression model using scikit-learn's LinearRegression class, visualizes the results, and then compares the implementation, parameter optimization, prediction accuracy, and visualization with a manually coded gradient descent approach.

LinearRegressionPythongradient descent
0 likes · 7 min read
Implementing Linear Regression with scikit-learn and Comparing to Gradient Descent
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 9, 2024 · Fundamentals

Master Python’s Number Guessing Game: Step-by-Step Code Walkthrough

This article walks through building a classic number‑guessing game in Python, presenting two community‑sourced solutions, detailed code snippets, explanations of the while‑loop and random modules, and enhancements for input validation and interactive range feedback, helping readers deepen their programming fundamentals.

Number Guessing GamePythoninput validation
0 likes · 6 min read
Master Python’s Number Guessing Game: Step-by-Step Code Walkthrough
Test Development Learning Exchange
Test Development Learning Exchange
Oct 7, 2024 · Interview Experience

30 Must‑Know Interview Questions & Answers for Modern Software Development

This article compiles 30 essential interview questions covering fundamentals, API pagination, HTTP status codes, JSON schema validation, CORS, test automation frameworks, pytest parametrization and fixtures, mocking, coverage testing, load and stress testing, Locust and JMeter usage, security testing such as SQL injection, XSS, OAuth2, JWT, CI/CD concepts with Jenkins, GitHub Actions, Travis CI, Docker, and Python code quality tools like static analysis, black formatting, unit testing, refactoring, and technical debt management, each accompanied by concise explanations and runnable code snippets.

APICI/CDPython
0 likes · 15 min read
30 Must‑Know Interview Questions & Answers for Modern Software Development
JavaEdge
JavaEdge
Oct 7, 2024 · Big Data

Master Data Analysis: From Collection to Visualization

This guide explains why data analysis is essential, breaks it into three core stages—data collection, data mining, and data visualization—offers practical tool recommendations, and presents principles for efficient learning and skill development.

Data AnalysisData VisualizationPython
0 likes · 10 min read
Master Data Analysis: From Collection to Visualization
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 6, 2024 · Fundamentals

Build a Python Card Game: From Deck Generation to Winner Ranking

This article walks through implementing the Chinese poker game "ZhaJinHua" in Python, covering the game rules, generating a full deck, dealing cards to five players, evaluating hand types, scoring, and determining the winner, and also introduces a comprehensive book on financial large‑model development.

Pythoncard gameprogramming
0 likes · 13 min read
Build a Python Card Game: From Deck Generation to Winner Ranking
Test Development Learning Exchange
Test Development Learning Exchange
Oct 5, 2024 · Fundamentals

Master Essential Python File, Network, and Data Operations in One Guide

This comprehensive guide walks you through core Python techniques for handling files and directories, making HTTP requests, processing data, managing system resources, performing text manipulation, executing mathematical calculations, building simple web applications, and interacting with various databases, all illustrated with ready‑to‑run code snippets.

Data ProcessingNetwork RequestsPython
0 likes · 27 min read
Master Essential Python File, Network, and Data Operations in One Guide
Software Development Quality
Software Development Quality
Oct 5, 2024 · Fundamentals

Choosing the Right Data Analysis Tool: Excel, BI, R, Python & More

This guide compares the strengths and weaknesses of common data analysis tools—from basic spreadsheet software and multi‑dimensional tables to professional statistical packages, BI platforms, and programming languages like R and Python—helping readers select the most suitable solution for their needs.

BI ToolsData AnalysisExcel
0 likes · 8 min read
Choosing the Right Data Analysis Tool: Excel, BI, R, Python & More
21CTO
21CTO
Oct 4, 2024 · Fundamentals

7 Must‑Know Open‑Source Python Projects Every Developer Should Explore

Discover seven essential open‑source Python repositories—from data analysis with Pandas and workflow automation with Apache Airflow to AI‑powered G4F, web crawling with Scrapy, Telegram bots via Ultroid, team chat with Zulip, and crypto trading with Freqtrade—each offering powerful capabilities and community support.

Data AnalysisLibrariesPython
0 likes · 4 min read
7 Must‑Know Open‑Source Python Projects Every Developer Should Explore
Test Development Learning Exchange
Test Development Learning Exchange
Oct 4, 2024 · Fundamentals

Unlock Python’s Power: Master Magic Methods for Advanced OOP

This tutorial explains Python’s magic (special) methods—including initialization, string representation, arithmetic, comparison, container protocols, iteration, attribute handling, context management, and callable behavior—showing how each method works with clear code examples to make classes more flexible and powerful.

Object-Oriented ProgrammingProgramming FundamentalsPython
0 likes · 9 min read
Unlock Python’s Power: Master Magic Methods for Advanced OOP
Test Development Learning Exchange
Test Development Learning Exchange
Oct 3, 2024 · Backend Development

Using pytest‑xdist for Parallel and Distributed Testing in Python

This guide explains how to install, configure, and use the pytest‑xdist plugin to run Python tests in parallel across multiple processes or machines, covering basic -n options, auto detection, distributed node setup, example test code, configuration files, and advanced features such as custom process names and SSH tunneling.

Distributed TestingParallel TestingPython
0 likes · 6 min read
Using pytest‑xdist for Parallel and Distributed Testing in Python
Test Development Learning Exchange
Test Development Learning Exchange
Sep 30, 2024 · Fundamentals

Understanding Data Encapsulation and Private Attributes in Object‑Oriented Programming (Python Examples)

This article explains the concept of data encapsulation and the role of private attributes in object‑oriented programming, illustrating their benefits and usage through multiple Python code examples covering simple classes, private methods, inheritance, property decorators, and descriptors.

EncapsulationOOPObject-Oriented Programming
0 likes · 8 min read
Understanding Data Encapsulation and Private Attributes in Object‑Oriented Programming (Python Examples)
Test Development Learning Exchange
Test Development Learning Exchange
Sep 29, 2024 · Fundamentals

Python Basics: Variables, Data Types, and Object-Oriented Programming

This tutorial introduces Python fundamentals, covering variable assignment, data types, control structures, functions, modules, exception handling, file operations, and object‑oriented programming with class definitions, methods, and object instantiation, illustrated by practical code examples.

Data TypesObject-Oriented ProgrammingProgramming Fundamentals
0 likes · 5 min read
Python Basics: Variables, Data Types, and Object-Oriented Programming
YiSu Grain
YiSu Grain
Sep 29, 2024 · Artificial Intelligence

Finding the ‘Heavenly Path’ of Data Points: A Linear Regression Walkthrough

This article walks through linear regression by visualizing scattered data points, defining the line y = ax + b, deriving the mean‑squared‑error cost function, computing its gradients with the chain rule, and implementing gradient descent in Python to find the optimal parameters.

Linear RegressionPythoncost function
0 likes · 11 min read
Finding the ‘Heavenly Path’ of Data Points: A Linear Regression Walkthrough
Ctrip Technology
Ctrip Technology
Sep 29, 2024 · Artificial Intelligence

Structured Components-based Neural Network (SCNN) for Multivariate Time Series Forecasting: Theory, Implementation, and Business Application

This article presents the SCNN model for multivariate time series forecasting, explains its decomposition into long‑term, seasonal, short‑term, and co‑evolving components, details the neural‑network‑based fusion and loss design, provides Python code snippets, and demonstrates its practical deployment for business volume prediction at Ctrip.

Neural NetworkPythonSCNN
0 likes · 30 min read
Structured Components-based Neural Network (SCNN) for Multivariate Time Series Forecasting: Theory, Implementation, and Business Application
21CTO
21CTO
Sep 28, 2024 · Fundamentals

Why Python’s Dynamic Typing Makes Coding Faster: A Beginner’s Guide

This article introduces beginners to Python’s dynamic typing, strong typing, and the inner workings of its interpreter, contrasting them with static languages, and demonstrates how variable assignment and memory management differ through clear examples and explanations of CPython’s runtime behavior.

Programming FundamentalsPythonStrong Typing
0 likes · 5 min read
Why Python’s Dynamic Typing Makes Coding Faster: A Beginner’s Guide
Test Development Learning Exchange
Test Development Learning Exchange
Sep 28, 2024 · Fundamentals

Python Cheat Sheet for File Management, Data Processing, Web Requests, Automation, and Text Manipulation

This article provides a concise Python cheat sheet covering common file and directory operations, CSV/JSON data handling, web request and crawling techniques, automation tasks such as scheduling and email sending, and various string manipulation utilities, each illustrated with ready‑to‑run code snippets.

PythonWeb Scrapingfile management
0 likes · 10 min read
Python Cheat Sheet for File Management, Data Processing, Web Requests, Automation, and Text Manipulation
Test Development Learning Exchange
Test Development Learning Exchange
Sep 27, 2024 · Fundamentals

Understanding Class Variables and Instance Variables in Python

This article explains the differences between class variables and instance variables in object‑oriented programming, illustrates their characteristics with clear Python examples, and demonstrates advanced patterns such as counting instances, default values, constants, static data, configuration options, and polymorphic behavior.

Class VariablesOOPPython
0 likes · 11 min read
Understanding Class Variables and Instance Variables in Python
Test Development Learning Exchange
Test Development Learning Exchange
Sep 25, 2024 · Fundamentals

Duck Typing and Polymorphism in Python

This article explains duck typing and polymorphism in Python, two fundamental object-oriented programming concepts, with practical code examples demonstrating how objects can be treated based on their behavior rather than their type.

Code ExamplesPythonduck-typing
0 likes · 8 min read
Duck Typing and Polymorphism in Python