Tagged articles

Python

5000 articles · Page 15 of 50
AI Algorithm Path
AI Algorithm Path
Feb 18, 2025 · Artificial Intelligence

Build DeepSeek‑R1 from Scratch: Complete Training Process with Code Walkthrough

This article provides a step‑by‑step, code‑first guide to reproducing DeepSeek‑R1 from the ground up, covering model selection, dataset preparation, custom reward functions, GRPO reinforcement‑learning training, supervised fine‑tuning, reasoning‑oriented RL, rejection sampling, and model distillation.

DeepSeek-R1LLM trainingPython
0 likes · 48 min read
Build DeepSeek‑R1 from Scratch: Complete Training Process with Code Walkthrough
Top Architecture Tech Stack
Top Architecture Tech Stack
Feb 18, 2025 · Backend Development

Step-by-Step Guide: Integrating DeepSeek API with a WeChat Public Account on a Cloud Server

This tutorial walks beginners through obtaining a DeepSeek API key, configuring a WeChat public account, setting up an Alibaba Cloud ECS instance, installing required dependencies, editing configuration files, and running the chatgpt‑on‑wechat project to enable AI‑powered replies via the WeChat platform.

API integrationDeepSeekPython
0 likes · 13 min read
Step-by-Step Guide: Integrating DeepSeek API with a WeChat Public Account on a Cloud Server
Test Development Learning Exchange
Test Development Learning Exchange
Feb 17, 2025 · Frontend Development

Using Playwright for Advanced UI Automation: Page Navigation, Alerts, Scrolling, Drag‑Drop, and Browser History

This article explains how to use Playwright with Python to automate complex web interactions such as multi‑page navigation, new‑tab handling, alert/confirm/prompt dialogs, scrolling, drag‑and‑drop, and browser history manipulation, providing clear code examples for each scenario.

Browser InteractionPlaywrightPython
0 likes · 5 min read
Using Playwright for Advanced UI Automation: Page Navigation, Alerts, Scrolling, Drag‑Drop, and Browser History
Python Programming Learning Circle
Python Programming Learning Circle
Feb 17, 2025 · Frontend Development

Eight Python GUI Libraries for Building Desktop Applications

This article introduces eight Python GUI frameworks—including Tkinter, PyQt5, PySimpleGUI, Kivy, wxPython, Toga, Dear PyGui, and Streamlit—explaining their features, providing code examples, and offering a small exercise to create a simple calculator, helping developers quickly build desktop apps.

KivyPythonStreamlit
0 likes · 9 min read
Eight Python GUI Libraries for Building Desktop Applications
Test Development Learning Exchange
Test Development Learning Exchange
Feb 17, 2025 · Frontend Development

Playwright Guide: Form Filling, File Upload/Download, Keyboard Shortcuts, and Validation in UI Automation

This article demonstrates how to use Playwright for UI automation by showing how to fill various form fields, upload and download files, simulate keyboard shortcuts and combinations, and handle form validation and errors, providing complete Python code examples for each scenario.

Form TestingPlaywrightPython
0 likes · 7 min read
Playwright Guide: Form Filling, File Upload/Download, Keyboard Shortcuts, and Validation in UI Automation
21CTO
21CTO
Feb 16, 2025 · Artificial Intelligence

How to Deploy Your Own DeepSeek LLM Locally: Step-by-Step Guide

This guide walks you through setting up a local DeepSeek large language model, covering environment preparation, model acquisition, dependency installation, FastAPI service creation, Docker containerization, optional front‑end interface, performance tuning, and common troubleshooting steps.

AI modelDeepSeekDocker
0 likes · 7 min read
How to Deploy Your Own DeepSeek LLM Locally: Step-by-Step Guide
Test Development Learning Exchange
Test Development Learning Exchange
Feb 15, 2025 · Frontend Development

Getting Started with Playwright: Introduction, Installation, Browser Setup, and Configuration

This article introduces Playwright, explains its key features, guides readers through installing the tool and its dependencies, demonstrates how to launch Chromium, Firefox, and WebKit browsers with Python code, and shows common configuration options such as headless mode, timeouts, and proxy settings.

AutomationPlaywrightPython
0 likes · 5 min read
Getting Started with Playwright: Introduction, Installation, Browser Setup, and Configuration
Python Programming Learning Circle
Python Programming Learning Circle
Feb 15, 2025 · Backend Development

Proper Python Configuration for Multi‑Environment Applications

This article explains how to structure Python projects so that configuration is managed through packages and environment variables, enabling seamless deployment across development, testing, staging, and production environments without code changes, while illustrating best practices with clear examples and code snippets.

BackendPythonconfiguration
0 likes · 12 min read
Proper Python Configuration for Multi‑Environment Applications
Test Development Learning Exchange
Test Development Learning Exchange
Feb 15, 2025 · Fundamentals

Overview of Common Python Built‑in Functions, itertools, and operator Utilities

This article introduces essential Python built‑in functions such as map, filter, reduce, sorted, any, all, zip, enumerate, and utilities from functools, itertools, and operator modules, providing concise explanations and practical code examples for each to help readers master fundamental programming techniques.

Functional ProgrammingProgramming FundamentalsPython
0 likes · 8 min read
Overview of Common Python Built‑in Functions, itertools, and operator Utilities
Code Mala Tang
Code Mala Tang
Feb 15, 2025 · Fundamentals

Unlock Full CPU Power in Python: A Hands‑On Guide to Multiprocessing

This article explains why Python’s Global Interpreter Lock limits CPU core usage, introduces the multiprocessing module for parallel execution of CPU‑intensive tasks, and provides step‑by‑step code examples, key concepts, synchronization tools, a real‑world image‑processing case, and best practices to dramatically speed up your programs.

CPU BoundMultiprocessingPython
0 likes · 9 min read
Unlock Full CPU Power in Python: A Hands‑On Guide to Multiprocessing
Python Programming Learning Circle
Python Programming Learning Circle
Feb 14, 2025 · Backend Development

Python Project Ideas for Intermediate Developers: Web, GUI, and CLI Applications

This article presents thirteen practical Python project ideas for intermediate developers, covering web scrapers, URL shorteners, regex tools, note‑taking apps, quizzes, media players, alarm utilities, file managers, accounting tools, address books, site checkers, bulk renamers, and directory tree generators, each with technical details and optional challenges.

CLIGUIPython
0 likes · 15 min read
Python Project Ideas for Intermediate Developers: Web, GUI, and CLI Applications
Test Development Learning Exchange
Test Development Learning Exchange
Feb 14, 2025 · Fundamentals

Python Date and Time Modules Overview

This article provides a comprehensive overview of Python's core date and time handling modules, including datetime, time, calendar, dateutil, and zoneinfo, with practical examples and installation instructions for advanced functionality.

FundamentalsPythondate handling
0 likes · 3 min read
Python Date and Time Modules Overview
Alibaba Cloud Big Data AI Platform
Alibaba Cloud Big Data AI Platform
Feb 14, 2025 · Big Data

How MaxCompute Powers Intelligent Data Warehousing in the Data+AI Era

This article summarizes a meetup talk by Alibaba Cloud expert Yu Deshui, detailing MaxCompute’s evolution, serverless architecture, AI‑enabled features, and the platform’s comprehensive solutions—including OpenLake, MaxFrame, Object Table, near‑real‑time computing, and AI Functions—to address the challenges of modern data‑centric AI workloads.

AI integrationBig DataData Warehouse
0 likes · 13 min read
How MaxCompute Powers Intelligent Data Warehousing in the Data+AI Era
AI Algorithm Path
AI Algorithm Path
Feb 13, 2025 · Artificial Intelligence

How to Build a Local RAG Knowledge Base with DeepSeek‑R1 and Ollama

This article walks through setting up a local Retrieval‑Augmented Generation (RAG) system using the open‑source DeepSeek‑R1 model run via Ollama, covering installation, model selection, PDF ingestion with LangChain, semantic chunking, FAISS vector store creation, RetrievalQA chain construction, and a Streamlit UI for querying.

DeepSeek-R1FAISSLangChain
0 likes · 8 min read
How to Build a Local RAG Knowledge Base with DeepSeek‑R1 and Ollama
DataFunSummit
DataFunSummit
Feb 13, 2025 · Big Data

E‑commerce Data Scraping: Fundamentals, Tools, Python Scripts, and Challenges

This tutorial explains e‑commerce web scraping fundamentals, covering definitions, tool types, data categories, step‑by‑step Python script creation with Requests, BeautifulSoup, and Selenium, provides sample code for Amazon, Walmart, and eBay, discusses challenges like dynamic pages and anti‑scraping measures, and recommends using specialized scraping APIs.

Bright DataPythonSelenium
0 likes · 15 min read
E‑commerce Data Scraping: Fundamentals, Tools, Python Scripts, and Challenges
Code Mala Tang
Code Mala Tang
Feb 13, 2025 · Fundamentals

Top 10 VS Code Extensions to Supercharge Your Python Development

Discover the ten most essential VS Code extensions for Python that boost productivity, improve code quality, and streamline debugging, covering everything from intelligent code completion and formatting to version control insights and Jupyter notebook integration.

ExtensionsPythonVS Code
0 likes · 6 min read
Top 10 VS Code Extensions to Supercharge Your Python Development
AI Code to Success
AI Code to Success
Feb 13, 2025 · Artificial Intelligence

Why PyTorch Is the Go-To Framework for Modern AI Development

This article introduces PyTorch, explains its dynamic computation graph, Python‑centric design, and tensor operations, surveys its major applications in computer vision, natural language processing, and reinforcement learning, and provides a step‑by‑step tutorial for building and training a multilayer perceptron on the MNIST dataset.

Dynamic Computation GraphMNISTPyTorch
0 likes · 11 min read
Why PyTorch Is the Go-To Framework for Modern AI Development
Test Development Learning Exchange
Test Development Learning Exchange
Feb 12, 2025 · Operations

20 Python Automation Scripts for Common Tasks

This article presents twenty practical Python scripts that automate everyday tasks such as batch file renaming, email sending, scheduling reminders, generating reports, backing up files, updating Excel sheets, downloading web pages, filling forms, extracting PDF text, converting file formats, visualizing data, and more, providing ready-to-use code examples for each.

AutomationBackend DevelopmentPython
0 likes · 10 min read
20 Python Automation Scripts for Common Tasks
Alimama Tech
Alimama Tech
Feb 12, 2025 · Artificial Intelligence

HighService: A High‑Performance Pythonic AI Service Framework for Model Inference and Global Resource Scheduling

HighService, Alibaba’s Pythonic AI service framework, accelerates large‑model inference and maximizes GPU utilization by separating CPU‑GPU processes, offering out‑of‑the‑box quantization, parallelism and caching, and dynamically reallocating idle GPUs across clusters through a master‑worker scheduler to keep online latency low while boosting offline throughput for diffusion and LLM workloads.

AI ServicePythonResource Scheduling
0 likes · 16 min read
HighService: A High‑Performance Pythonic AI Service Framework for Model Inference and Global Resource Scheduling
Python Programming Learning Circle
Python Programming Learning Circle
Feb 12, 2025 · Fundamentals

Top 25 Pandas Tricks for DataFrame Manipulation and Analysis

This tutorial showcases a comprehensive set of pandas techniques—including reading data from the clipboard, random sampling, multi‑condition filtering, handling missing values, string splitting, list expansion, multi‑function aggregation, slicing, descriptive statistics, categorical conversion, DataFrame styling, and profiling—to efficiently explore and transform DataFrames in Python.

PandasProfilingPython
0 likes · 11 min read
Top 25 Pandas Tricks for DataFrame Manipulation and Analysis
AI Code to Success
AI Code to Success
Feb 11, 2025 · Artificial Intelligence

Unlocking TensorFlow: From Basics to Building Your First Linear Regression Model

This article introduces TensorFlow's core concepts—tensors, computational graphs, variables, and sessions—covers its wide range of AI applications from traditional machine learning to deep learning in NLP and computer vision, and provides a step‑by‑step Python tutorial for implementing a simple linear regression model.

AI TutorialMachine LearningPython
0 likes · 6 min read
Unlocking TensorFlow: From Basics to Building Your First Linear Regression Model
Test Development Learning Exchange
Test Development Learning Exchange
Feb 8, 2025 · Fundamentals

Using Python’s os, sys, and os.path Modules: Common Operations and Code Examples

This article introduces Python’s os, sys, and os.path modules, demonstrating how to retrieve the current working directory, create and delete directories, list files, execute system commands, access interpreter information, handle command‑line arguments, redirect I/O, and manipulate file paths with practical code snippets.

OS modulePythonfile-handling
0 likes · 4 min read
Using Python’s os, sys, and os.path Modules: Common Operations and Code Examples
21CTO
21CTO
Feb 8, 2025 · Artificial Intelligence

Can Java Overtake Python in AI? Insights from the 2025 Azul Report

A recent Azul Systems study suggests that Java may surpass Python in enterprise AI development within the next 18‑36 months, highlighting Java's scalability, performance, and emerging GPU projects while acknowledging cultural and tooling advantages that still favor Python.

AIEnterpriseGPU
0 likes · 9 min read
Can Java Overtake Python in AI? Insights from the 2025 Azul Report
Top Architect
Top Architect
Feb 8, 2025 · Artificial Intelligence

Integrating DeepSeek API with a WeChat Public Account: Step‑by‑Step Tutorial

This tutorial guides beginners through the complete process of integrating DeepSeek's large language model API into a WeChat public account, covering API key acquisition, WeChat platform configuration, free Alibaba Cloud ECS setup, code deployment, dependency installation, configuration file editing, and final server verification.

APIDeepSeekPython
0 likes · 12 min read
Integrating DeepSeek API with a WeChat Public Account: Step‑by‑Step Tutorial
Test Development Learning Exchange
Test Development Learning Exchange
Feb 7, 2025 · Fundamentals

Python Basics: Print, Variables, Data Types, Control Flow, Functions, and More

This comprehensive tutorial introduces Python fundamentals, covering print statements, variable definition and assignment, data type conversion, conditional and loop structures, function creation and invocation, input handling, comments, indentation rules, program exit methods, operators, slicing, collections, file I/O, exception handling, and module imports.

Control FlowData TypesFunctions
0 likes · 33 min read
Python Basics: Print, Variables, Data Types, Control Flow, Functions, and More
Test Development Learning Exchange
Test Development Learning Exchange
Feb 7, 2025 · Fundamentals

15 Python Automation Scripts for Common Tasks

This article presents fifteen practical Python scripts that automate everyday tasks such as folder backup, email notifications, web content downloading, password management, image downloading, Excel processing, network speed testing, social media posting, scheduled shutdown, CPU monitoring, HTML scraping, batch file renaming, duplicate removal, text‑to‑speech conversion, and PDF merging.

AutomationPythonScripting
0 likes · 10 min read
15 Python Automation Scripts for Common Tasks
21CTO
21CTO
Feb 6, 2025 · Fundamentals

Which Programming Languages Will Dominate 2025? Insights from PYPL & TIOBE

Based on the 2025 PYPL popularity index and TIOBE rankings, this article examines the top programming languages—such as Python, JavaScript, Java, TypeScript, PHP, C#, Rust, Go, Kotlin, and Swift—detailing their descriptions, key features, primary uses, and current popularity trends.

2025 trendsJavaScriptPython
0 likes · 9 min read
Which Programming Languages Will Dominate 2025? Insights from PYPL & TIOBE
Test Development Learning Exchange
Test Development Learning Exchange
Feb 6, 2025 · Backend Development

Comprehensive Python API Testing Examples with Requests and Pytest

This article provides a collection of practical Python snippets demonstrating how to send GET and POST requests, validate status codes, response bodies, JSON schemas, handle headers, query parameters, file uploads, redirects, timeouts, sessions, authentication, rate limiting, and parameterized testing using the requests library and pytest framework.

API testingHTTPPython
0 likes · 14 min read
Comprehensive Python API Testing Examples with Requests and Pytest
Code Mala Tang
Code Mala Tang
Feb 5, 2025 · Fundamentals

Avoid These 4 Common Python Generator Mistakes and Use Them Effectively

Learn what Python generators are, see a simple countdown example, and discover four typical pitfalls—unnecessary use, exhaustion, misuse in list comprehensions, and improper yield placement—along with practical fixes to help you apply generators correctly in real-world code.

Best PracticesIteratorsPython
0 likes · 6 min read
Avoid These 4 Common Python Generator Mistakes and Use Them Effectively
Test Development Learning Exchange
Test Development Learning Exchange
Feb 4, 2025 · Fundamentals

Comprehensive Overview of Python Built‑in Data Types

This article provides a comprehensive overview of Python's built‑in data types—including numbers, strings, lists, tuples, dictionaries, sets, booleans, None, sequences, mappings, iterables, and file handling—explaining their characteristics, usage examples, and best‑practice considerations for efficient programming.

Data TypesFundamentalsPython
0 likes · 8 min read
Comprehensive Overview of Python Built‑in Data Types
Java Tech Enthusiast
Java Tech Enthusiast
Feb 4, 2025 · Fundamentals

LeetCode 31 – Next Permutation: Problem, Analysis, and Code

The Next Permutation problem asks to rearrange an integer array into the immediate lexicographically larger ordering—or the smallest order if none exists—by scanning from the right to find the first decreasing pair, swapping with the next larger element, and reversing the suffix, using O(1) extra space, with implementations provided in Java, C++, and Python.

C++JavaLeetCode
0 likes · 7 min read
LeetCode 31 – Next Permutation: Problem, Analysis, and Code
Code Mala Tang
Code Mala Tang
Feb 2, 2025 · Artificial Intelligence

How to Deploy DeepSeek AI Coding Assistant Locally: A Step‑by‑Step Guide

This guide walks you through the hardware and software prerequisites, Docker-based installation, environment configuration, model fine‑tuning, IDE integration, maintenance, and troubleshooting for running the DeepSeek AI programming assistant entirely on your own machine.

AI coding assistantDeepSeekDocker
0 likes · 12 min read
How to Deploy DeepSeek AI Coding Assistant Locally: A Step‑by‑Step Guide
Test Development Learning Exchange
Test Development Learning Exchange
Feb 2, 2025 · Operations

Performing File Operations in Locust Load‑Testing Scripts

This article demonstrates how to use Python's standard file handling libraries within Locust load‑testing scripts to read, write, and upload files, including example code, best‑practice tips, exception handling, and concurrency considerations for reliable file operations during performance testing.

File OperationsLocustPython
0 likes · 5 min read
Performing File Operations in Locust Load‑Testing Scripts
Test Development Learning Exchange
Test Development Learning Exchange
Jan 30, 2025 · Operations

Locust Event System Overview and Usage

The article explains Locust's event system, detailing common events such as init, test_start, test_stop, request_success, request_failure, quitting, worker_report, and hatch_complete, and provides Python code examples for attaching listeners to customize load‑testing behavior.

Event SystemLocustPython
0 likes · 4 min read
Locust Event System Overview and Usage
Code Mala Tang
Code Mala Tang
Jan 27, 2025 · Fundamentals

How to Refactor Flag‑Heavy Python Functions for Cleaner, Scalable Code

This article examines a Python function overloaded with flags, explains why such design harms readability, testability, and extensibility, and demonstrates step‑by‑step refactoring using descriptive helper functions, a pipeline approach, flexible step lists, and type annotations to produce clean, maintainable code.

Pythoncode qualitypipeline
0 likes · 5 min read
How to Refactor Flag‑Heavy Python Functions for Cleaner, Scalable Code
Code Mala Tang
Code Mala Tang
Jan 26, 2025 · Fundamentals

Master Python Async: Boost Performance with asyncio, async/await, and Tasks

This guide explains Python asynchronous programming using the asyncio library, covering async functions, coroutine objects, the event loop, await syntax, task creation, and concurrent execution with asyncio.run, create_task, and gather to improve I/O‑bound performance.

Async/AwaitPythonasynchronous programming
0 likes · 7 min read
Master Python Async: Boost Performance with asyncio, async/await, and Tasks
Test Development Learning Exchange
Test Development Learning Exchange
Jan 25, 2025 · Backend Development

HttpRunner Overview: Features, Sample Test Cases, and Integration with Requests

This article introduces the open‑source HttpRunner API testing tool, outlines its key features such as YAML/JSON test definitions, parameterization, assertions, reporting and performance testing, and provides step‑by‑step Python examples showing how to write, run, and integrate HttpRunner tests with existing requests‑based projects.

API testingAutomationHttpRunner
0 likes · 7 min read
HttpRunner Overview: Features, Sample Test Cases, and Integration with Requests
Python Crawling & Data Mining
Python Crawling & Data Mining
Jan 24, 2025 · Fundamentals

Three Elegant Python Tricks to Sum Columns in a 2D List

This article explains a Python fan's question about summing each column of a two‑dimensional list and presents three concise solutions—including list unpacking with zip, NumPy aggregation, and a functional reduce approach—complete with code snippets and explanations.

Pythonlist comprehensionlist sum
0 likes · 5 min read
Three Elegant Python Tricks to Sum Columns in a 2D List
Alibaba Cloud Developer
Alibaba Cloud Developer
Jan 24, 2025 · Big Data

Master DataWorks Notebook: Interactive SQL & Python for Big Data Development

This guide walks you through setting up a personal DataWorks Notebook, performing interactive SQL development with engines like MaxCompute, creating Python visualizations, building ipywidgets for dynamic queries, and leveraging the AI‑powered Copilot to rewrite, explain, and comment code, all within a unified big‑data platform.

Big DataCopilotDataWorks
0 likes · 9 min read
Master DataWorks Notebook: Interactive SQL & Python for Big Data Development
Test Development Learning Exchange
Test Development Learning Exchange
Jan 23, 2025 · Fundamentals

Advanced Python Features: Generators, Context Managers, Metaclasses, and More

This article introduces twelve advanced Python features—including generators, context managers, metaclasses, descriptors, coroutines, data classes, type annotations, multiple inheritance with mixins, exception chaining, modules and packages, itertools, and regular expressions—explaining their purpose and providing clear code examples to illustrate each concept.

Advanced FeaturesCoroutinesData Classes
0 likes · 8 min read
Advanced Python Features: Generators, Context Managers, Metaclasses, and More
Test Development Learning Exchange
Test Development Learning Exchange
Jan 22, 2025 · Artificial Intelligence

Comprehensive Guide to Python Data Science Libraries with Code Examples

This article presents a concise tutorial on essential Python data science libraries, covering data cleaning with Pandas, numerical analysis with NumPy and SciPy, visualization with Matplotlib and Seaborn, machine learning with scikit‑learn, NLP with NLTK and spaCy, time‑series modeling, image processing, database access, and parallel computing, each illustrated with ready‑to‑run code examples.

Data VisualizationMachine LearningNLP
0 likes · 7 min read
Comprehensive Guide to Python Data Science Libraries with Code Examples
Test Development Learning Exchange
Test Development Learning Exchange
Jan 21, 2025 · Big Data

Boost Python Performance: 10 Proven Strategies for Big Data Processing

Learn how to dramatically improve Python's speed and reduce memory usage when handling massive datasets by applying ten practical techniques—including optimal data structures, chunked file reading, generators, powerful libraries, parallel processing, memory-mapped files, databases, streaming frameworks, cloud services, and algorithmic optimizations.

Big DataMemory managementOptimization
0 likes · 7 min read
Boost Python Performance: 10 Proven Strategies for Big Data Processing
Python Programming Learning Circle
Python Programming Learning Circle
Jan 20, 2025 · Fundamentals

10 Practical Python Automation Scripts for Everyday Tasks

This article presents ten ready‑to‑use Python automation scripts that demonstrate how to optimize images, process videos, convert PDFs to images, fetch and post API data, monitor battery levels, correct grammar and spelling, download files, retrieve world news, and build a simple PySide2 GUI, providing clear code examples for each use case.

APIAutomationGUI
0 likes · 11 min read
10 Practical Python Automation Scripts for Everyday Tasks
21CTO
21CTO
Jan 19, 2025 · Fundamentals

Why Python Is the Modern BASIC: A Historical Perspective

From its 1960s origins as an accessible beginner’s language to its ubiquitous presence on early home computers, BASIC paved the way for today’s Python, which the author argues has become the new BASIC for non‑programmers, despite its quirks and evolving ecosystem.

BASICPythonSoftware Development
0 likes · 8 min read
Why Python Is the Modern BASIC: A Historical Perspective
Test Development Learning Exchange
Test Development Learning Exchange
Jan 19, 2025 · Fundamentals

Understanding Classes and Objects in Python: Definitions, Instantiation, Attributes, Methods, Inheritance, Polymorphism, and Encapsulation

This article introduces Python's object‑oriented programming fundamentals, explaining how to define classes, instantiate objects, differentiate class and instance attributes, and use various method types, followed by practical examples of inheritance, polymorphism, and encapsulation to build well‑structured, maintainable code.

ObjectsPythoninheritance
0 likes · 7 min read
Understanding Classes and Objects in Python: Definitions, Instantiation, Attributes, Methods, Inheritance, Polymorphism, and Encapsulation
Code Mala Tang
Code Mala Tang
Jan 19, 2025 · Fundamentals

Master the 6 Most Common Python Pitfalls and How to Avoid Them

This article explores six frequently misunderstood Python features—mutable default arguments, the difference between is and ==, *args/**kwargs, iterator exhaustion, complex list comprehensions, and the global keyword—explaining why they trip developers up and offering clear, practical solutions to master each one.

Pythonargs-kwargsdefault-arguments
0 likes · 8 min read
Master the 6 Most Common Python Pitfalls and How to Avoid Them
Test Development Learning Exchange
Test Development Learning Exchange
Jan 18, 2025 · Fundamentals

Understanding Python Comprehensions: Lists, Sets, Dictionaries, Nested and Generator Expressions

Python comprehensions provide concise syntax for creating lists, sets, dictionaries, nested structures, and generator expressions, allowing developers to replace explicit loops and conditional logic with readable one‑liner constructs, as illustrated with practical code examples and guidance on their appropriate use.

ComprehensionsPythongenerator
0 likes · 6 min read
Understanding Python Comprehensions: Lists, Sets, Dictionaries, Nested and Generator Expressions
Test Development Learning Exchange
Test Development Learning Exchange
Jan 17, 2025 · Artificial Intelligence

Essential Python Libraries for Data Processing, Visualization, and Machine Learning

This article introduces ten essential Python libraries—including SciPy, Matplotlib, Plotly, Scikit‑learn, TensorFlow, spaCy, BeautifulSoup, OpenPyXL, Feather/Parquet, and SQLAlchemy—detailing their primary uses for scientific computing, visualization, machine learning, deep learning, NLP, web scraping, Excel handling, efficient data storage, and ORM, with practical code examples.

Machine LearningNLPPython
0 likes · 8 min read
Essential Python Libraries for Data Processing, Visualization, and Machine Learning
Python Programming Learning Circle
Python Programming Learning Circle
Jan 17, 2025 · Information Security

Python WiFi Password Cracking Tool Using pywifi

This article demonstrates how to build a Python GUI application that scans nearby Wi‑Fi networks, reads a password dictionary, and attempts to brute‑force Wi‑Fi credentials using the pywifi library, providing step‑by‑step code, environment setup, and execution results.

GUIPythonnetwork security
0 likes · 9 min read
Python WiFi Password Cracking Tool Using pywifi
Test Development Learning Exchange
Test Development Learning Exchange
Jan 17, 2025 · Fundamentals

Key Features of Python Syntax and Their Benefits

The article outlines twelve essential characteristics of Python's syntax—including indentation, dynamic typing, built‑in data structures, standard library, OOP support, exception handling, generators, decorators, and more—illustrated with clear code examples that demonstrate how these features simplify development and improve code readability.

Code examplesFundamentalsPython
0 likes · 7 min read
Key Features of Python Syntax and Their Benefits
Code Mala Tang
Code Mala Tang
Jan 16, 2025 · Fundamentals

How I Boosted My Python Script Speed by 300%: 10 Proven Optimization Tricks

This article walks through ten practical techniques—including profiling with cProfile, using built‑in functions, list comprehensions, avoiding globals, leveraging NumPy, generators, multiprocessing, caching, selective imports, and upgrading Python—to dramatically accelerate Python scripts handling large data sets.

Code RefactoringNumPyPerformance optimization
0 likes · 8 min read
How I Boosted My Python Script Speed by 300%: 10 Proven Optimization Tricks
Test Development Learning Exchange
Test Development Learning Exchange
Jan 15, 2025 · Frontend Development

Ten PyQt5 GUI Widget Examples for Desktop Applications

This article provides ten self‑contained PyQt5 examples—including a simple window, button counter, text input, checkbox, combo box, file dialog, progress bar, label, table view, and calendar widget—each with full Python code and brief explanations for building desktop GUI components.

DesktopGUIPyQt5
0 likes · 8 min read
Ten PyQt5 GUI Widget Examples for Desktop Applications
Test Development Learning Exchange
Test Development Learning Exchange
Jan 14, 2025 · Backend Development

Building a Secure and Efficient Online Webpage Screenshot Service with Flask, Selenium, and Redis

This guide demonstrates how to create a robust online webpage screenshot service using Python, Selenium, and Flask, incorporating security measures like CSRF protection and domain whitelisting, performance enhancements with Redis caching and rate limiting, comprehensive error handling, resource management, and extensibility for future features.

FlaskPythonRedis
0 likes · 6 min read
Building a Secure and Efficient Online Webpage Screenshot Service with Flask, Selenium, and Redis
DeWu Technology
DeWu Technology
Jan 13, 2025 · Artificial Intelligence

Unlock GPU Power: A Hands‑On Triton Guide for Vector Add, Matrix Multiply & RoPE

This article introduces Triton—a Python‑based GPU programming language—covers essential GPU architecture, walks through practical kernels for vector addition, matrix multiplication, and rotary position encoding, compares performance with PyTorch, and provides debugging tips for high‑performance deep‑learning workloads.

CUDAGPU programmingPerformance optimization
0 likes · 22 min read
Unlock GPU Power: A Hands‑On Triton Guide for Vector Add, Matrix Multiply & RoPE
Test Development Learning Exchange
Test Development Learning Exchange
Jan 13, 2025 · Backend Development

Building a Python Flask Service for Automatic ID Generation

This guide demonstrates how to build a Python Flask-based RESTful service that generates various types of unique identifiers—including UUIDs, timestamps, Redis counters, Snowflake IDs, and random strings—while covering installation, code implementation, API endpoints, error handling, rate limiting, and extensibility considerations.

APIFlaskID Generation
0 likes · 7 min read
Building a Python Flask Service for Automatic ID Generation
Top Architecture Tech Stack
Top Architecture Tech Stack
Jan 13, 2025 · Databases

Using Multithreading in Redis: I/O Threads, Background Tasks, and Memory Allocator

The article explains how Redis, a high‑performance key‑value store, can leverage multithreading for I/O operations, background tasks like UNLINK, and jemalloc memory‑management threads, providing configuration examples and Python code to improve performance in high‑concurrency scenarios while noting the associated CPU cost.

I/O ThreadsMemory managementPython
0 likes · 6 min read
Using Multithreading in Redis: I/O Threads, Background Tasks, and Memory Allocator
Test Development Learning Exchange
Test Development Learning Exchange
Jan 12, 2025 · Fundamentals

Popular Python Libraries Across Various Domains

This article provides an overview of widely used Python libraries spanning web development, GUI programming, web scraping, game development, multimedia processing, security, cloud computing, data visualization, version control, parallel computing, natural language processing, and IoT, highlighting each library's primary purpose and typical use cases.

Cloud ComputingData VisualizationMachine Learning
0 likes · 6 min read
Popular Python Libraries Across Various Domains
MaGe Linux Operations
MaGe Linux Operations
Jan 11, 2025 · Fundamentals

Master Python Iterators and Generators: From Basics to Advanced Usage

This article explains Python iterators, iterables, and generators, detailing their definitions, core methods, advantages, disadvantages, and practical code examples—including iterator objects, generator creation via comprehensions and the yield keyword, decorator integration, and mutable data handling—providing a comprehensive guide for developers.

DecoratorIterableIterator
0 likes · 14 min read
Master Python Iterators and Generators: From Basics to Advanced Usage