Tagged articles

Python

5000 articles · Page 29 of 50
Test Development Learning Exchange
Test Development Learning Exchange
Nov 13, 2023 · Fundamentals

Master Core Python, Database, Linux, and Networking Concepts in One Guide

This comprehensive guide covers essential programming fundamentals—including Python memory management, metaclasses, decorators, multithreading, data structures, algorithmic techniques, database concepts such as ACID, indexing, and transaction isolation, Redis operations, Linux memory handling, networking protocols, Docker/Kubernetes commands, and core testing methodologies—providing clear explanations and practical code examples.

AlgorithmsLinuxNetworking
0 likes · 38 min read
Master Core Python, Database, Linux, and Networking Concepts in One Guide
21CTO
21CTO
Nov 13, 2023 · Fundamentals

Why C# Is Closing the Gap with Java in the Latest TIOBE Rankings

November 2023’s TIOBE Index reveals Python still leads at 14.16%, while C# jumps to fifth place, narrowing its gap with Java to just 0.7%, as Java slips to fourth with its biggest monthly decline, and C and C++ also see modest drops.

C#JavaLanguage Popularity
0 likes · 2 min read
Why C# Is Closing the Gap with Java in the Latest TIOBE Rankings
Python Programming Learning Circle
Python Programming Learning Circle
Nov 13, 2023 · Fundamentals

Why You Should Avoid For Loops in Python and Use More Advanced Constructs

The article explains how avoiding explicit for‑loops in Python encourages the use of more expressive constructs such as list comprehensions, generator expressions, map/reduce, and itertools, leading to shorter, more readable, and better‑structured code while showcasing practical examples and best‑practice recommendations.

Functional ProgrammingPythoncode optimization
0 likes · 7 min read
Why You Should Avoid For Loops in Python and Use More Advanced Constructs
Test Development Learning Exchange
Test Development Learning Exchange
Nov 11, 2023 · Artificial Intelligence

Python Techniques for Comprehensive Text Data Analysis

This guide demonstrates how to use Python for end‑to‑end text data analysis, covering preprocessing, word‑frequency visualization, classification, sentiment detection, similarity measurement, entity recognition, keyword extraction, summarization, translation, and generation with clear code examples.

NLPPythonSentiment Analysis
0 likes · 6 min read
Python Techniques for Comprehensive Text Data Analysis
Test Development Learning Exchange
Test Development Learning Exchange
Nov 7, 2023 · Fundamentals

Master Python’s Core Data Types: Numbers, Strings, Lists, and More

This guide introduces Python’s fundamental data types—including integers, floats, complex numbers, strings, booleans, lists, tuples, dictionaries, sets, NoneType, enums, functions, modules, and classes—explaining their characteristics and providing concise code examples that demonstrate creation, manipulation, and common operations for each type.

Data TypesPythonTutorial
0 likes · 7 min read
Master Python’s Core Data Types: Numbers, Strings, Lists, and More
Test Development Learning Exchange
Test Development Learning Exchange
Nov 7, 2023 · Fundamentals

Understanding Python Unpacking: Benefits and Practical Examples

Python unpacking lets you extract multiple values from iterables in a single, readable statement, reducing code complexity and enabling concise operations such as simultaneous variable assignment, swapping, dictionary merging, and function argument handling, illustrated with numerous practical code examples.

Code ExamplesPythonfundamentals
0 likes · 5 min read
Understanding Python Unpacking: Benefits and Practical Examples
21CTO
21CTO
Nov 4, 2023 · Fundamentals

Is Python a Compiled or Interpreted Language? Uncover the Truth

This article explores whether Python is a compiled or interpreted language by examining its compilation stages, error‑message generation, differences across Python versions, and the broader distinction between static and dynamic language features, ultimately showing that Python combines both compilation and interpretation.

CompilationInterpretationPython
0 likes · 17 min read
Is Python a Compiled or Interpreted Language? Uncover the Truth
Python Programming Learning Circle
Python Programming Learning Circle
Nov 4, 2023 · Fundamentals

Modern Python Standard Library: pathlib, secrets, zoneinfo, dataclasses, logging, f‑strings, tomllib, and setuptools

This article reviews recent Python standard‑library enhancements, showing how pathlib replaces os.path, secrets supersedes os.urandom, zoneinfo replaces pytz, dataclasses improve on namedtuple, proper logging outperforms print, f‑strings beat format, tomllib replaces tomli, and setuptools supersedes distutils, with code examples for each.

Pythondataclassesf-strings
0 likes · 13 min read
Modern Python Standard Library: pathlib, secrets, zoneinfo, dataclasses, logging, f‑strings, tomllib, and setuptools
Sohu Tech Products
Sohu Tech Products
Nov 1, 2023 · Fundamentals

Boost Python Performance with Numba: Real-World Pandas Benchmarks

This article introduces Numba, explains its parallel, distributed, and GPU acceleration capabilities, and provides detailed Pandas benchmark examples that show how Numba’s JIT compilation dramatically speeds up data‑frame operations compared with default and Cython engines.

JITPerformancePython
0 likes · 7 min read
Boost Python Performance with Numba: Real-World Pandas Benchmarks
Model Perspective
Model Perspective
Nov 1, 2023 · Artificial Intelligence

Master Differential Evolution: Principles, Code Example, and GA Comparison

This article introduces the Differential Evolution (DE) algorithm, detailing its core concepts of mutation, crossover, and selection, outlines the step-by-step procedure, provides a Python implementation, compares DE with Genetic Algorithms, and highlights practical applications across engineering, machine learning, and image processing.

Differential EvolutionEvolutionary AlgorithmsPython
0 likes · 11 min read
Master Differential Evolution: Principles, Code Example, and GA Comparison
Python Programming Learning Circle
Python Programming Learning Circle
Nov 1, 2023 · Backend Development

Implementing a WeChat Message Anti‑Recall Feature Using Python and itchat

This tutorial demonstrates how to use Python's built‑in modules together with the third‑party itchat library to monitor, capture, and resend WeChat messages that have been withdrawn, providing step‑by‑step code and explanations for installing dependencies, handling different message types, and running the script on various operating systems.

AutomationPythonWeChat
0 likes · 6 min read
Implementing a WeChat Message Anti‑Recall Feature Using Python and itchat
Python Programming Learning Circle
Python Programming Learning Circle
Oct 31, 2023 · Fundamentals

Comparison of Five Python Automation Testing Frameworks: Robot Framework, Pytest, UnitTest, Behave, and Lettuce

This article reviews and compares five popular Python automation testing frameworks—Robot Framework, Pytest, UnitTest, Behave, and Lettuce—covering their prerequisites, advantages, disadvantages, and how they stack up against each other to help newcomers choose the right tool for functional, unit, or behavior‑driven testing.

AutomationLettucePython
0 likes · 14 min read
Comparison of Five Python Automation Testing Frameworks: Robot Framework, Pytest, UnitTest, Behave, and Lettuce
Test Development Learning Exchange
Test Development Learning Exchange
Oct 29, 2023 · Fundamentals

Common Design Patterns in Python

This article lists and briefly explains fifteen common Python design patterns, including Singleton, Factory, Abstract Factory, Builder, Prototype, Adapter, Decorator, Proxy, Observer, Strategy, Template Method, Iterator, Chain of Responsibility, Command, and State, helping developers understand their purposes and usage.

Design PatternsPythonfactory
0 likes · 4 min read
Common Design Patterns in Python
IT Services Circle
IT Services Circle
Oct 29, 2023 · Fundamentals

Maximum Sum Submatrix – Solution Using 2D Prefix Sum

This article explains the maximum‑sum submatrix problem, presents a brute‑force enumeration, introduces a 2‑dimensional prefix‑sum technique to compute submatrix sums in O(1), and provides a complete Python implementation with complexity analysis.

2D prefix sumOptimizationPython
0 likes · 9 min read
Maximum Sum Submatrix – Solution Using 2D Prefix Sum
Test Development Learning Exchange
Test Development Learning Exchange
Oct 28, 2023 · Fundamentals

Understanding the Object Factory Design Pattern with Python Examples

Object Factory is a design pattern that centralizes object creation, enhancing decoupling, extensibility, and management of instances, and this article explains its principles, benefits, and provides five Python code examples illustrating various scenarios such as type-based creation, configuration-driven instantiation, logging factories, singleton factories, and object caching.

Design PatternObject FactoryPython
0 likes · 7 min read
Understanding the Object Factory Design Pattern with Python Examples
Python Programming Learning Circle
Python Programming Learning Circle
Oct 27, 2023 · Fundamentals

Common Python Errors and How to Fix Them

This article introduces the most frequent Python errors—including syntax, runtime, and logical mistakes—explains their typical causes, and provides practical solutions and debugging techniques such as using IDEs, print statements, and unit tests, complemented by a case study and useful tips.

Pythonbest-practicescommon errors
0 likes · 5 min read
Common Python Errors and How to Fix Them
Test Development Learning Exchange
Test Development Learning Exchange
Oct 26, 2023 · Fundamentals

Understanding Global and Local Variables in Python

This article explains the concepts and practical usage scenarios of global and local variables in Python, illustrating their roles in data sharing, configuration, temporary storage, scope isolation, and exception handling with clear code examples for interface automation and general programming.

Code ExamplesPythonglobal variables
0 likes · 5 min read
Understanding Global and Local Variables in Python
Test Development Learning Exchange
Test Development Learning Exchange
Oct 25, 2023 · Fundamentals

Understanding the Command Pattern with Python Examples

This article explains the Command design pattern, describes its key participants and advantages, and provides five Python examples demonstrating command encapsulation, undo/redo functionality, file operations, shopping‑cart management, and menu handling to illustrate how the pattern decouples request senders from receivers.

Command PatternDesign PatternsPython
0 likes · 9 min read
Understanding the Command Pattern with Python Examples
21CTO
21CTO
Oct 23, 2023 · Fundamentals

What the 2022 JetBrains Python Survey Reveals About Language Trends and Tooling

The 2022 JetBrains Python Developer Survey of over 23,000 respondents shows 93% now use Python 3, highlights the decline of Python 2, rising popularity of FastAPI, dominant IDEs like PyCharm and VS Code, and shifting preferences in frameworks, databases, big‑data tools, and operating systems.

Data ScienceDeveloper SurveyIDE
0 likes · 5 min read
What the 2022 JetBrains Python Survey Reveals About Language Trends and Tooling
Baidu Geek Talk
Baidu Geek Talk
Oct 23, 2023 · Mobile Development

How Python Automates iOS Code Refactoring: A Step‑by‑Step Guide

This article explains how to use Python scripts to automate the analysis and refactoring of iOS configuration data items in Baidu App, detailing the extraction of public properties, usage detection across modules, CSV reporting, and the overall refactoring workflow to improve maintainability and reduce risk.

AutomationCSV exportPython
0 likes · 16 min read
How Python Automates iOS Code Refactoring: A Step‑by‑Step Guide
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 21, 2023 · Fundamentals

How to Extract Exact 6‑Digit Codes from Mixed Text Using Python Regex

This article walks through extracting six‑digit numeric codes from strings containing letters, numbers, and symbols using Python regular expressions and pandas, presenting multiple community‑sourced approaches, complete code examples, and visual explanations to help readers solve similar data extraction challenges.

Code TutorialPythonString processing
0 likes · 5 min read
How to Extract Exact 6‑Digit Codes from Mixed Text Using Python Regex
Test Development Learning Exchange
Test Development Learning Exchange
Oct 21, 2023 · Backend Development

10 Practical Python Multiprocessing Scenarios for Inter‑Process Communication

This article presents ten practical Python multiprocessing examples demonstrating various inter‑process communication techniques—including pipes, queues, shared memory, managers, events, semaphores, condition variables, and shared counters—to help developers implement concurrent data exchange and synchronization across processes.

Interprocess CommunicationPythonconcurrency
0 likes · 6 min read
10 Practical Python Multiprocessing Scenarios for Inter‑Process Communication
Test Development Learning Exchange
Test Development Learning Exchange
Oct 19, 2023 · Artificial Intelligence

Common Machine Learning Algorithms for Data Prediction with Python Code Examples

This article introduces ten widely used machine learning algorithms for data prediction, explains their core concepts, and provides complete Python code snippets using scikit‑learn and related libraries to help readers implement regression, classification, and time‑series forecasting tasks.

ClassificationPythondata prediction
0 likes · 12 min read
Common Machine Learning Algorithms for Data Prediction with Python Code Examples
FunTester
FunTester
Oct 18, 2023 · Backend Development

Mastering YAML for API Test Framework Configuration: Best Practices and Examples

This article explains why YAML is ideal for managing API test framework configurations, outlines its syntax and structure, and provides concrete examples for global settings, environment-specific parameters, endpoint definitions, best‑practice guidelines, and Python parsing with PyYAML, helping teams build maintainable and scalable test suites.

API-testingConfigurationDevOps
0 likes · 8 min read
Mastering YAML for API Test Framework Configuration: Best Practices and Examples
Test Development Learning Exchange
Test Development Learning Exchange
Oct 16, 2023 · Information Security

Python Techniques for Data Protection and Privacy: Encryption, Hashing, SSL/TLS, and Common Security Measures

This article presents practical Python examples for enhancing network security, covering symmetric and asymmetric encryption, hash functions, password hashing, SSL/TLS communication, SQL injection prevention, XSS mitigation, CSRF protection, and secure password storage to safeguard data and privacy.

CSRFPythonSQL injection
0 likes · 7 min read
Python Techniques for Data Protection and Privacy: Encryption, Hashing, SSL/TLS, and Common Security Measures
php Courses
php Courses
Oct 13, 2023 · Artificial Intelligence

Top 10 Python Libraries for Data Augmentation in Machine Learning

This article introduces ten popular Python libraries—Augmentor, imgaug, albumentations, nlpaug, textaugment, pytorch‑geometric, audiomentations, nlpaugment, keras‑augment, and OpenCV—that provide powerful image, text, audio, and graph data augmentation techniques to improve model generalization and robustness.

Data AugmentationPythonaudio augmentation
0 likes · 8 min read
Top 10 Python Libraries for Data Augmentation in Machine Learning
MaGe Linux Operations
MaGe Linux Operations
Oct 12, 2023 · Operations

Mastering Fabric 2: Remote Automation with Python

This guide provides a comprehensive overview of Fabric 2, covering installation, connection setup, command execution, interactive prompts, file transfer, multi‑host orchestration, fab CLI usage, and a custom FabConnection wrapper for advanced automation tasks.

FabricPythonremote execution
0 likes · 19 min read
Mastering Fabric 2: Remote Automation with Python
IT Services Circle
IT Services Circle
Oct 12, 2023 · Frontend Development

Integrating WASI into WebContainers: Enabling Multi‑Language Execution in the Browser

The article explains how StackBlitz's WebContainers, a browser‑based container environment, now fully integrates the WebAssembly System Interface (WASI), allowing near‑native speed, secure sandboxed execution of multiple languages such as Rust, Python, C/C++, and introducing new CLI tools and future language support.

Multi-languagePythonWASI
0 likes · 6 min read
Integrating WASI into WebContainers: Enabling Multi‑Language Execution in the Browser
Practical DevOps Architecture
Practical DevOps Architecture
Oct 10, 2023 · Fundamentals

Comprehensive Course Outline: Python, Django, Frontend Development, and K8s Dashboard Project

This article presents a detailed curriculum covering an opening ceremony, Python fundamentals and advanced topics, Django development (including ORM and authentication), frontend basics with HTML, CSS, JavaScript, jQuery, a Layui UI framework module, and a hands‑on K8s Dashboard web project, followed by recommended reading links.

Course OutlineDjangoPython
0 likes · 5 min read
Comprehensive Course Outline: Python, Django, Frontend Development, and K8s Dashboard Project
Test Development Learning Exchange
Test Development Learning Exchange
Oct 8, 2023 · Backend Development

Python Multiprocessing for Parallel Tasks and API Automation

This article explains Python's multiprocessing module, compares it with multithreading, outlines its benefits for CPU utilization and resource isolation, and provides five practical code examples demonstrating concurrent task execution, parallel calculations, data processing, API requests, and test case automation.

API-testingPythonconcurrency
0 likes · 6 min read
Python Multiprocessing for Parallel Tasks and API Automation
Python Programming Learning Circle
Python Programming Learning Circle
Oct 6, 2023 · Backend Development

Face Recognition Door Access Management System – Python/Django Tutorial

This article introduces a Python‑based face‑recognition door access management system built with Django, REST framework, JWT, Redis and Dlib, detailing its features, required environment setup, step‑by‑step installation commands, configuration files, and how to run the project on both PC and mobile interfaces.

DjangoPythonTutorial
0 likes · 3 min read
Face Recognition Door Access Management System – Python/Django Tutorial
21CTO
21CTO
Oct 5, 2023 · Fundamentals

What’s Coming in Python 3.12? Inside the Faster CPython Roadmap

The article outlines the major performance and architectural goals for Python 3.12, describing the Faster CPython project’s specialized opcodes, multithreading proposals, object size reductions, memory‑management improvements, and API stability efforts that aim to boost speed and maintainability.

CPythonPEPPerformance
0 likes · 8 min read
What’s Coming in Python 3.12? Inside the Faster CPython Roadmap
Python Programming Learning Circle
Python Programming Learning Circle
Oct 5, 2023 · Fundamentals

18 Useful Python Tricks for Everyday Coding

This article presents eighteen practical Python tricks, covering input handling, conditional checks, parity testing, variable swapping, palindrome detection, list comprehensions, argument packing, dictionary merging, sorting, pretty printing, and list reversal, each illustrated with clear bad‑practice and improved code examples.

Pythonbest-practicescode
0 likes · 13 min read
18 Useful Python Tricks for Everyday Coding
Liangxu Linux
Liangxu Linux
Oct 5, 2023 · Fundamentals

Why ULID Beats UUID: A Deep Dive into Lexicographically Sortable IDs

This article explains the limitations of UUID, introduces ULID as a time‑and‑randomness based identifier with 1.21×10⁻²⁴ unique values per millisecond, details its specification, binary layout, and shows how to generate and manipulate ULIDs in Python for distributed systems.

PythonUUIDdistributed systems
0 likes · 7 min read
Why ULID Beats UUID: A Deep Dive into Lexicographically Sortable IDs
DataFunSummit
DataFunSummit
Oct 2, 2023 · Artificial Intelligence

WeChat NLP Algorithm Microservice Governance: Challenges and Solutions

This article examines the governance of WeChat's NLP algorithm microservices, outlining the management, performance, and scheduling challenges they face and presenting solutions such as automated CI/CD pipelines, dynamic scaling, DAG‑based service composition, a custom tracing system, the PyInter interpreter, and an improved load‑balancing algorithm.

CI/CDMicroservicesNLP
0 likes · 12 min read
WeChat NLP Algorithm Microservice Governance: Challenges and Solutions
Liangxu Linux
Liangxu Linux
Sep 29, 2023 · Fundamentals

Why Coroutines Matter: A Beginner’s Guide to Pausable Functions

This article explains what coroutines are, how they differ from ordinary functions by supporting multiple pause points, demonstrates their behavior with Python code and visual diagrams, covers their historical origins, and details low‑level implementation using stack frames and heap allocation for efficient user‑level concurrency.

Asynchronous ProgrammingPythoncoroutine
0 likes · 13 min read
Why Coroutines Matter: A Beginner’s Guide to Pausable Functions
Model Perspective
Model Perspective
Sep 28, 2023 · Fundamentals

How the Haversine Formula Calculates Flight Distances Between Cities

Discover how the Haversine formula, rooted in centuries of navigation history, computes the shortest great‑circle distance between any two points on Earth, illustrated with Python code that measures distances and flight times among Beijing, Shanghai, Guangzhou, and Shenzhen.

Haversine formulaPythonflight distance
0 likes · 7 min read
How the Haversine Formula Calculates Flight Distances Between Cities
Test Development Learning Exchange
Test Development Learning Exchange
Sep 27, 2023 · Fundamentals

Designing a Scalable Python Automated Testing Architecture: Strategies, Best Practices, and Sample Implementation

This article outlines key principles and best practices for designing a scalable Python automated testing architecture, covering test strategy definition, framework selection, modular and keyword‑driven design, test data management, error handling, reporting, CI integration, and provides a complete example implementation.

CI/CDCode ExamplePython
0 likes · 9 min read
Designing a Scalable Python Automated Testing Architecture: Strategies, Best Practices, and Sample Implementation
21CTO
21CTO
Sep 27, 2023 · Fundamentals

How Python Evolved into Today’s Most Popular Programming Language

Python, created by Guido van Rossum in the late 1980s, has grown from a readable, object‑oriented scripting language into one of the world’s most popular languages, driven by its simplicity, extensive libraries, and widespread use in web development, data analysis, AI, and more.

Programming LanguagePythonhistory
0 likes · 6 min read
How Python Evolved into Today’s Most Popular Programming Language
Python Programming Learning Circle
Python Programming Learning Circle
Sep 26, 2023 · Backend Development

How to Package Python Scripts into Executable Files Using Various Tools

This article explains several methods for converting Python scripts into standalone executables—including pyinstaller, cx_Freeze, py2exe, py2app, Nuitka, and a combination of Nuitka with pyinstaller—detailing their commands, platform support, advantages, and common pitfalls such as missing imports and GIL-related issues.

NuitkaPackagingPyInstaller
0 likes · 7 min read
How to Package Python Scripts into Executable Files Using Various Tools
Ant R&D Efficiency
Ant R&D Efficiency
Sep 25, 2023 · Artificial Intelligence

Running LLaMA 7B Model Locally on a Single Machine

This guide shows how to download, convert, 4‑bit quantize, and run Meta’s 7‑billion‑parameter LLaMA model on a single 16‑inch Apple laptop using Python, torch, and the llama.cpp repository, demonstrating that the quantized model fits in memory and generates responses quickly, with optional scaling to larger models.

7B modelAILlama
0 likes · 5 min read
Running LLaMA 7B Model Locally on a Single Machine
Test Development Learning Exchange
Test Development Learning Exchange
Sep 24, 2023 · Artificial Intelligence

Common Python Libraries for Data Analysis, Summarization, and Classification

This article introduces five widely used Python libraries—Pandas, NumPy, NLTK, Scikit-learn, and Matplotlib—explaining their core functionalities for data cleaning, statistical analysis, natural language processing, machine‑learning modeling, and visualization, and provides practical code snippets for each.

Data AnalysisNLTKNumPy
0 likes · 6 min read
Common Python Libraries for Data Analysis, Summarization, and Classification
21CTO
21CTO
Sep 24, 2023 · Artificial Intelligence

Why Mojo Promises C‑Level Speed with Python Simplicity for AI Development

This article introduces Mojo, a new AI‑focused programming language that combines Python’s ease of use with C‑grade performance, explains its claimed 35,000× speed boost, and walks through its seven key features and code examples for developers.

AI developmentC performanceCode Examples
0 likes · 10 min read
Why Mojo Promises C‑Level Speed with Python Simplicity for AI Development
Python Programming Learning Circle
Python Programming Learning Circle
Sep 21, 2023 · Fundamentals

Python Performance Optimization Tips

This article presents practical Python performance optimization techniques, including using local variables, minimizing function calls, employing mappings over conditionals, iterating directly over sequences, preferring generator expressions, pre‑compiling code, and structuring modules with functions to reduce overhead and improve efficiency.

CodingPerformancePython
0 likes · 6 min read
Python Performance Optimization Tips
Sohu Tech Products
Sohu Tech Products
Sep 20, 2023 · Backend Development

Analyzing and Fixing Encoding Issues in Python Requests, Scrapy, and Golang Charset Libraries

The article examines how Python Requests, Scrapy, and Go’s charset package detect page encodings, reveals why they often mis‑decode Chinese GB‑series pages, and proposes a unified strategy—prefer header charset, then HTML meta, finally a reliable heuristic—to eliminate garbled text in web scraping.

PythonWeb Scrapingencoding
0 likes · 8 min read
Analyzing and Fixing Encoding Issues in Python Requests, Scrapy, and Golang Charset Libraries
Model Perspective
Model Perspective
Sep 20, 2023 · Operations

Unlock Efficiency with Data Envelopment Analysis (DEA) in Operations Research

Data Envelopment Analysis (DEA) is a powerful operations‑research technique that evaluates the relative efficiency of decision‑making units with multiple inputs and outputs by automatically assigning optimal weights, offering a comprehensive alternative to traditional ratio methods, and can be applied through linear programming models and Python implementations.

Data Envelopment AnalysisPythonefficiency evaluation
0 likes · 12 min read
Unlock Efficiency with Data Envelopment Analysis (DEA) in Operations Research
IT Services Circle
IT Services Circle
Sep 16, 2023 · Artificial Intelligence

Porting Llama2 to Mojo: Massive Performance Boosts and Insights

Former Meta engineer Aydyn Tairov quickly ported the Python implementation of Llama2 to the newly released Mojo language, demonstrating that Mojo’s SIMD primitives can accelerate Python code by up to 250 times and even make the Python version run 20% faster than the original C implementation.

AIC++Llama2
0 likes · 2 min read
Porting Llama2 to Mojo: Massive Performance Boosts and Insights
Test Development Learning Exchange
Test Development Learning Exchange
Sep 16, 2023 · Fundamentals

Python's http.server Module

This article introduces Python's http.server module for creating HTTP servers and http.cookies module for managing cookies, providing practical examples for web development tasks.

Cookie ManagementHTTP serverPython
0 likes · 10 min read
Python's http.server Module
MaGe Linux Operations
MaGe Linux Operations
Sep 15, 2023 · Information Security

How to Build a Fast, Accurate Honeypot Detector with Python and CrawlerGo

This article explains what web honeypots are, outlines their distinctive JSONP‑hijacking behavior, and provides a step‑by‑step guide—including asset collection with CrawlerGo, data cleaning, dictionary matching, multithreaded scanning, and proxy‑pool integration—to automatically identify and filter honeypots from large domain lists.

Pythoncrawlergohoneypot detection
0 likes · 15 min read
How to Build a Fast, Accurate Honeypot Detector with Python and CrawlerGo
360 Quality & Efficiency
360 Quality & Efficiency
Sep 15, 2023 · Backend Development

Managing Application Configuration in Flask Using the Config Class

This article explains how Flask's Config class works as a dictionary‑based configuration manager, demonstrates multiple ways to set and load settings—including direct assignment, update, from_object, from_pyfile, environment variables, JSON, and constructor arguments—and provides code examples for each method.

CONFIGConfigurationFlask
0 likes · 5 min read
Managing Application Configuration in Flask Using the Config Class
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 15, 2023 · Artificial Intelligence

Understanding Machine Learning vs Deep Learning and a Practical sklearn Regression Tutorial

This article explains the difference between machine learning and deep learning, compares ML algorithms with traditional logic code, introduces the scikit‑learn library, demonstrates data preprocessing, model training with RandomForestRegressor, and shows how to build a voting regressor for disease progression prediction using Python.

Pythonmachine learningregression
0 likes · 18 min read
Understanding Machine Learning vs Deep Learning and a Practical sklearn Regression Tutorial