Tagged articles
5000 articles
Page 17 of 50
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
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/CDPerformance Testing
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.

Big DataData 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.

File OperationsNetwork RequestsPython
0 likes · 27 min read
Master Essential Python File, Network, and Data Operations in One Guide
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.

Pythonautomationdata analysis
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.

PythonSpecial MethodsTutorial
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 · Fundamentals

Master Python OOP: Classes, Inheritance, Magic Methods & More

This comprehensive guide walks through Python's object‑oriented programming essentials, covering class definitions, attributes, common magic methods, inheritance, polymorphism, exception handling, as well as module and package creation and usage, complete with clear code examples for each concept.

Exception HandlingInheritanceModules
0 likes · 12 min read
Master Python OOP: Classes, Inheritance, Magic Methods & More
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.

EncapsulationOOPPython
0 likes · 8 min read
Understanding Data Encapsulation and Private Attributes in Object‑Oriented Programming (Python Examples)
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 NetworkPredictionPython
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.

PythonStrong Typingdynamic 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.

PythonScriptingWeb Scraping
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
Test Development Learning Exchange
Test Development Learning Exchange
Sep 22, 2024 · Fundamentals

Understanding Concurrency, Parallelism, Synchronization, Asynchronous, Blocking, and Non‑blocking in Python with Code Examples

This article explains the key concepts of concurrency, parallelism, synchronization, asynchronous execution, blocking, and non‑blocking in Python, providing clear explanations and practical code samples for each concept, including API automation examples for HTTP requests.

BlockingNon-blockingParallelism
0 likes · 14 min read
Understanding Concurrency, Parallelism, Synchronization, Asynchronous, Blocking, and Non‑blocking in Python with Code Examples
Test Development Learning Exchange
Test Development Learning Exchange
Sep 21, 2024 · Fundamentals

Understanding Python Coroutines: Concepts, Implementation, and Practical Examples

This article introduces Python coroutines, explains their basic concepts and advantages, demonstrates how to implement them using async and await, and provides practical examples for concurrent HTTP requests and resource management, illustrating the underlying mechanics of async def, await, and the asyncio library.

CoroutinesPythonasync/await
0 likes · 6 min read
Understanding Python Coroutines: Concepts, Implementation, and Practical Examples
Python Programming Learning Circle
Python Programming Learning Circle
Sep 21, 2024 · Fundamentals

Python Essentials: CSV Handling, itertools, collections, Debugging, and Performance Tips

This article provides a comprehensive guide to Python fundamentals, covering CSV file reading and writing, powerful iterator utilities from itertools, advanced collection types like Counter, defaultdict and OrderedDict, techniques for error and warning output, code debugging, style checking, profiling, and practical performance‑optimisation principles.

CSVCollectionsPython
0 likes · 10 min read
Python Essentials: CSV Handling, itertools, collections, Debugging, and Performance Tips
Test Development Learning Exchange
Test Development Learning Exchange
Sep 21, 2024 · Fundamentals

Python List Operations: Sorting, Traversing, Deleting, Adding, Modifying, Indexing, and Basic List Functions

This tutorial demonstrates essential Python list operations, covering case‑sensitive and case‑insensitive sorting, reverse ordering, iteration with for and while loops, element removal by value or index, clearing, appending, inserting, extending, item modification, slicing, indexing, length checking, and mixed‑type lists, all illustrated with clear code examples.

CRUDListPython
0 likes · 5 min read
Python List Operations: Sorting, Traversing, Deleting, Adding, Modifying, Indexing, and Basic List Functions
Test Development Learning Exchange
Test Development Learning Exchange
Sep 20, 2024 · Fundamentals

Comprehensive Python Programming Guide: Data Types, Control Flow, Functions, OOP, and Advanced Features

This guide provides a thorough overview of Python programming, covering basic data types, control flow statements, function definitions, modules and packages, exception handling, file I/O, object‑oriented concepts, iterators, generators, context managers, decorators, functional programming, asynchronous code, metaclasses, standard and third‑party libraries, type annotations, design patterns, and practical tips such as enums and dataclasses.

Design PatternsPythonadvanced-python
0 likes · 19 min read
Comprehensive Python Programming Guide: Data Types, Control Flow, Functions, OOP, and Advanced Features
Python Programming Learning Circle
Python Programming Learning Circle
Sep 19, 2024 · Operations

A Collection of Python Automation Scripts for Clipboard Management, Code Quality Checking, File Integrity Verification, Stock Forecasting, Image Downloading, Port Scanning, Password Management, Email Sending, README Generation, and File Organization

This article presents a curated set of Python automation scripts covering clipboard management, code quality analysis, file integrity checks, stock price forecasting, bulk image downloading, network port scanning, secure password storage, mass email dispatch, README file creation, and intelligent file organization, each accompanied by concise explanations and ready‑to‑run code examples.

Pythonautomationdata-analysis
0 likes · 21 min read
A Collection of Python Automation Scripts for Clipboard Management, Code Quality Checking, File Integrity Verification, Stock Forecasting, Image Downloading, Port Scanning, Password Management, Email Sending, README Generation, and File Organization
Test Development Learning Exchange
Test Development Learning Exchange
Sep 19, 2024 · Fundamentals

Custom Sorting in Python

This article introduces various methods to customize sorting in Python, including using sorted() function, list's .sort() method, and custom comparison functions.

Key FunctionsPythoncomparison functions
0 likes · 8 min read
Custom Sorting in Python
Satori Komeiji's Programming Classroom
Satori Komeiji's Programming Classroom
Sep 18, 2024 · Fundamentals

How Python Implements Iterators: From __iter__ to __next__

This article explains Python's iterator protocol by showing how objects become iterable through __iter__, how the built‑in iter function creates iterator objects, the CPython internals of PyObject_GetIter, and how the __next__ method advances elements, with concrete code examples and source‑level snippets.

CPythonIterableIterator
0 likes · 16 min read
How Python Implements Iterators: From __iter__ to __next__
Test Development Learning Exchange
Test Development Learning Exchange
Sep 15, 2024 · Fundamentals

Understanding Instance, Class, and Static Methods in Python

This article explains Python's instance, class, and static methods, detailing their definitions, differences, and typical use cases, and provides clear code examples—including a simple MyClass demonstration and a comprehensive Date class illustration—to help developers understand and apply each method type effectively.

Class MethodOOPPython
0 likes · 6 min read
Understanding Instance, Class, and Static Methods in Python
21CTO
21CTO
Sep 14, 2024 · Fundamentals

Why Python Remains the Top Choice for New Developers in 2024

The 2024 JetBrains and Python Software Foundation survey of 25,000 developers reveals Python's continued dominance, detailed demographics, tool preferences, language trends, age distribution, web and data‑science usage, cloud adoption, and security insights, highlighting why newcomers still favor Python as their first language.

Cloud ComputingData SciencePython
0 likes · 9 min read
Why Python Remains the Top Choice for New Developers in 2024
Top Architect
Top Architect
Sep 14, 2024 · Information Security

Python WiFi Password Cracking GUI Tool Using pywifi and Tkinter

This article presents a step‑by‑step guide to creating a Python‑based Wi‑Fi password cracking GUI using the pywifi library and Tkinter, explains environment setup, code implementation, and usage, while also containing promotional material for related AI services and community groups.

PythonTkinterWiFi
0 likes · 14 min read
Python WiFi Password Cracking GUI Tool Using pywifi and Tkinter
DaTaobao Tech
DaTaobao Tech
Sep 13, 2024 · Big Data

Extending PyODPS with PAI‑Designer for Dynamic Offline Data Processing

By integrating PAI‑Designer with PyODPS, users can build visual offline workflows that overcome ODPS’s lack of network access, dynamic configuration, and image‑processing limits, using reusable Python components, OSS role‑ARNs, remote configuration fetching, and custom Docker images to read/write MaxCompute and OSS data.

DockerMaxComputePAI-Designer
0 likes · 19 min read
Extending PyODPS with PAI‑Designer for Dynamic Offline Data Processing
Python Programming Learning Circle
Python Programming Learning Circle
Sep 12, 2024 · Artificial Intelligence

Curated List of Python Libraries for Data Visualization, Machine Learning, and Development

This article compiles a comprehensive, subjectively curated collection of Python libraries for data visualization, machine learning, deep learning, AutoML, model interpretability, resource monitoring, and debugging, providing brief descriptions and links to each tool for developers and researchers.

AutoMLPythondata-visualization
0 likes · 9 min read
Curated List of Python Libraries for Data Visualization, Machine Learning, and Development
Test Development Learning Exchange
Test Development Learning Exchange
Sep 11, 2024 · Fundamentals

Python Introduction and Basic Syntax Tutorial

This tutorial introduces Python, explains how to install it, and covers fundamental syntax including comments, variables, data types, string manipulation, collections, control flow, functions, modules, exception handling, file operations, classes, comprehensions, and common utilities, providing clear code examples for each concept.

PythonTutorialprogramming basics
0 likes · 7 min read
Python Introduction and Basic Syntax Tutorial
21CTO
21CTO
Sep 11, 2024 · Fundamentals

Python, Julia, Rust: Pros, Cons, and Best Use Cases for Data Science

An in‑depth comparison of Python, Julia, and Rust reveals each language’s strengths and weaknesses for data‑science tasks, covering ease of development, library ecosystems, performance, deployment challenges, and suitability for rapid prototyping versus high‑performance, memory‑safe applications.

Data ScienceJuliaPython
0 likes · 9 min read
Python, Julia, Rust: Pros, Cons, and Best Use Cases for Data Science
DaTaobao Tech
DaTaobao Tech
Sep 11, 2024 · Big Data

Practical Guide to Using PyODPS for Flexible Data Processing

The article walks through a first‑time user’s experience with PyODPS, showing how its Python‑based DataFrame API offers more flexible JSON field statistics, multi‑condition filtering, and custom aggregations than traditional ODPS SQL, while noting a steep learning curve and syntax quirks.

MaxComputePyODPSPython
0 likes · 11 min read
Practical Guide to Using PyODPS for Flexible Data Processing
Test Development Learning Exchange
Test Development Learning Exchange
Sep 10, 2024 · Fundamentals

Python Basics: Dictionaries, Sets, File Operations, Regular Expressions, Logging, Unit Testing, Profiling, and Third‑Party Libraries

This article introduces core Python concepts—including dictionaries and sets as key‑value and unique collections, file and directory manipulation with the os module, regular expression handling, logging setup, unit testing with unittest, performance profiling via cProfile, and using popular third‑party libraries such as requests and BeautifulSoup.

Data StructuresFile OperationsPython
0 likes · 7 min read
Python Basics: Dictionaries, Sets, File Operations, Regular Expressions, Logging, Unit Testing, Profiling, and Third‑Party Libraries
Test Development Learning Exchange
Test Development Learning Exchange
Sep 10, 2024 · Fundamentals

Master Python Basics: Error Handling, Files, OOP, and More

This guide walks through essential Python concepts—including try/except error handling, file reading and writing, class definitions with inheritance, variable scopes, common built‑in functions, docstrings, comments, and command‑line argument processing—providing clear code examples for each topic.

DocstringsError HandlingFile I/O
0 likes · 8 min read
Master Python Basics: Error Handling, Files, OOP, and More
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 10, 2024 · Backend Development

Merging Files by Keyword with Python and Pandas

This article walks through a Python‑based solution that extracts files sharing specific keywords, pulls numeric data from the second column, and concatenates the results horizontally using pandas, providing clear code snippets and practical tips for automating such file‑processing tasks.

Pythonautomationdata-processing
0 likes · 6 min read
Merging Files by Keyword with Python and Pandas
Open Source Linux
Open Source Linux
Sep 10, 2024 · Operations

Boost Ops Efficiency: 5 Python Scripts Every Engineer Should Use

This article explains how Python scripts can automate key operations tasks—connecting to remote servers, parsing logs, monitoring system health, batch deploying software, and handling backups—enhancing efficiency and reducing manual errors for engineers.

DevOpsOperations AutomationPython
0 likes · 9 min read
Boost Ops Efficiency: 5 Python Scripts Every Engineer Should Use
Python Programming Learning Circle
Python Programming Learning Circle
Sep 9, 2024 · Fundamentals

Classification and Implementation of Common Sorting Algorithms in Python

This article classifies sorting algorithms into internal, external, comparison, and non‑comparison types, discusses stability and time‑complexity, and provides clear Python implementations with examples for Bubble Sort, Selection Sort, Insertion Sort, Shell Sort, Merge Sort, Quick Sort, Heap Sort, Counting Sort, Bucket Sort, and Radix Sort.

Data StructuresPythonSorting Algorithms
0 likes · 44 min read
Classification and Implementation of Common Sorting Algorithms in Python
Test Development Learning Exchange
Test Development Learning Exchange
Sep 8, 2024 · Fundamentals

Python Essentials: List, Dictionary, Set Comprehensions, Unpacking, and Useful Built‑in Functions

This guide presents a concise collection of Python fundamentals, covering list, dictionary, and set comprehensions, various unpacking techniques, conditional expressions, common built‑in functions such as zip, enumerate, sorted, reversed, join, map, filter, any/all, min/max, sum, reduce, as well as useful modules like itertools, os, sys, time, collections, functools, heapq, bisect, json, re, and numpy, each illustrated with clear code examples.

ComprehensionsPythonbuilt-in functions
0 likes · 11 min read
Python Essentials: List, Dictionary, Set Comprehensions, Unpacking, and Useful Built‑in Functions
IT Services Circle
IT Services Circle
Sep 8, 2024 · Artificial Intelligence

10 Essential Plots for Linear Regression with Python Code Examples

This tutorial explains ten crucial visualizations for linear regression—scatter plot, trend line, residual plot, normal probability plot, learning curve, bias‑variance tradeoff, residuals vs fitted, partial regression, leverage, and Cook's distance—each illustrated with clear Python code using scikit‑learn, matplotlib, seaborn, and statsmodels.

Data visualizationMatplotlibModel Evaluation
0 likes · 21 min read
10 Essential Plots for Linear Regression with Python Code Examples
Test Development Learning Exchange
Test Development Learning Exchange
Sep 8, 2024 · Fundamentals

Common Built-in Functions in Python: Type Conversion, Math Operations, Control Flow, Sequence Operations, I/O, and More

This article provides a comprehensive overview of Python's built-in functions, covering type conversion, mathematical operations, control flow utilities, sequence manipulation, input/output handling, common utilities, functional programming tools, memory management, and type checking with clear code examples.

Memory ManagementPythonfunctional programming
0 likes · 8 min read
Common Built-in Functions in Python: Type Conversion, Math Operations, Control Flow, Sequence Operations, I/O, and More
DevOps Engineer
DevOps Engineer
Sep 8, 2024 · Fundamentals

Overview of Python Packaging Authority (PyPA) Tools and Their Relationships

PyPA, the Python Packaging Authority, oversees key tools such as pip, setuptools, packaging, wheel, virtualenv, twine, and build, each serving distinct roles in package installation, creation, distribution, and environment isolation, with pyproject.toml coordinating their interactions to streamline Python development workflows.

PyPAPythonpackaging
0 likes · 6 min read
Overview of Python Packaging Authority (PyPA) Tools and Their Relationships
Test Development Learning Exchange
Test Development Learning Exchange
Sep 7, 2024 · Fundamentals

Understanding Python Decorators: Introduction, Common Examples, and Summary

This article introduces Python decorators, explains their purpose, and provides practical examples of common decorators such as @staticmethod, @property, @lru_cache, @wraps, @retry, @contextmanager, @dataclass, @cached_property, @singledispatch, and @timeit, concluding with a summary of their benefits for clean, maintainable code.

Code ExamplePythonfundamentals
0 likes · 8 min read
Understanding Python Decorators: Introduction, Common Examples, and Summary
Test Development Learning Exchange
Test Development Learning Exchange
Sep 5, 2024 · Backend Development

Build a Clean, Efficient MySQL Utility Class in Python

This article walks you through designing a lightweight, high‑performance MySQL helper class in Python, covering singleton connection management, robust exception handling, logging, context‑managed connections, and practical query/execute methods with example code and usage scenarios.

Error HandlingMySQLPython
0 likes · 7 min read
Build a Clean, Efficient MySQL Utility Class in Python
21CTO
21CTO
Sep 5, 2024 · Artificial Intelligence

Python vs Julia vs Rust: Which Language Wins for Data Science?

This article compares Python, Julia, and Rust—the three leading languages in data science—detailing their strengths, ecosystem support, performance, and deployment challenges to help developers choose the most suitable tool for their projects.

Data ScienceEcosystemJulia
0 likes · 9 min read
Python vs Julia vs Rust: Which Language Wins for Data Science?
Python Programming Learning Circle
Python Programming Learning Circle
Sep 5, 2024 · Artificial Intelligence

Face Detection with Haar Cascade and Face Recognition Using LBPH in OpenCV

This article explains the fundamentals of face detection using the Haar‑cascade algorithm, how to train and apply detectors with OpenCV, and introduces the Local Binary Patterns Histograms (LBPH) method for face recognition, covering data preparation, parameter selection, and matching techniques.

Computer VisionFace DetectionHaar cascade
0 likes · 13 min read
Face Detection with Haar Cascade and Face Recognition Using LBPH in OpenCV
Python Programming Learning Circle
Python Programming Learning Circle
Sep 4, 2024 · Artificial Intelligence

Building an Automatic Math Grading System with Python: Data Generation, CNN Training, Image Segmentation, and Result Feedback

This tutorial explains how to create an automatic math‑grading tool in Python by generating synthetic digit images, training a small CNN on the data, segmenting handwritten equations with projection techniques, recognizing characters, evaluating the expressions, and overlaying the results back onto the original image.

CNNImage ProcessingOCR
0 likes · 30 min read
Building an Automatic Math Grading System with Python: Data Generation, CNN Training, Image Segmentation, and Result Feedback