Tagged articles
5000 articles
Page 41 of 50
Python Programming Learning Circle
Python Programming Learning Circle
Jun 16, 2021 · Fundamentals

Comprehensive Matplotlib Tutorial: Titles, Text, Annotations, Labels, Legends, Colors, Markers, Grids, Axes, Styles and More

This article provides a step‑by‑step guide to using Matplotlib for creating and customizing plots in Python, covering how to add titles, text, annotations, axis labels, legends, colors, markers, grids, axis limits, dual axes, filled areas, patches, and style themes, complete with runnable code examples and visual results.

Pythondata-visualization
0 likes · 14 min read
Comprehensive Matplotlib Tutorial: Titles, Text, Annotations, Labels, Legends, Colors, Markers, Grids, Axes, Styles and More
Python Crawling & Data Mining
Python Crawling & Data Mining
Jun 16, 2021 · Artificial Intelligence

Master Chinese Text Segmentation with jieba: Installation, Modes, and Advanced Tricks

This tutorial walks you through installing the jieba Python library, explains its three segmentation modes—precise, full, and search—demonstrates how to add or delete words, manage custom dictionaries, handle stop words, perform weight analysis, adjust word frequencies, and retrieve token positions, all with clear code examples and visual output.

NLPPythonchinese segmentation
0 likes · 10 min read
Master Chinese Text Segmentation with jieba: Installation, Modes, and Advanced Tricks
DeWu Technology
DeWu Technology
Jun 11, 2021 · Mobile Development

A Hands‑On Guide to UI Automation Using Airtest

This hands‑on guide explains how to set up the cross‑platform Airtest framework, connect Android or iOS devices, record and edit Python‑based UI scripts, use image‑and value‑based assertions, generate HTML reports, and leverage Poco for element‑level automation in agile mobile development.

AirtestPOCOPython
0 likes · 12 min read
A Hands‑On Guide to UI Automation Using Airtest
21CTO
21CTO
Jun 9, 2021 · Fundamentals

Is Python About to Overtake C? Inside the June 2021 TIOBE Top 20 Rankings

The June 2021 TIOBE index shows Python narrowing the gap to C for the top spot, outlines shifts among the top‑20 languages, highlights logo updates, and provides detailed rankings and trends for the top 50 and the remaining languages, offering developers insight into language popularity.

C languagePythonTIOBE Index
0 likes · 5 min read
Is Python About to Overtake C? Inside the June 2021 TIOBE Top 20 Rankings
Python Programming Learning Circle
Python Programming Learning Circle
Jun 9, 2021 · Fundamentals

Python Tips: String Manipulation, Iterator Slicing, Context Managers, Slots, Resource Limits, and More

This article presents a collection of practical Python techniques—including string cleaning with translation tables, iterator slicing with itertools, skipping file headers, keyword‑only arguments, custom context‑manager objects, memory‑saving __slots__, CPU and memory resource limits, export control via __all__, and simplified total ordering—illustrated with concise code examples.

IteratorPythonString Manipulation
0 likes · 9 min read
Python Tips: String Manipulation, Iterator Slicing, Context Managers, Slots, Resource Limits, and More
Python Crawling & Data Mining
Python Crawling & Data Mining
Jun 7, 2021 · Artificial Intelligence

How to Build and Backtest Low‑Frequency Trading Strategies in Python

This article introduces two low‑frequency Python trading strategies—a grid‑based price‑difference approach and an intraday T‑strategy—explains their implementation on the RiceQuant platform, provides sample code, and presents back‑testing results that demonstrate their performance and practical considerations.

Algorithmic TradingGrid StrategyIntraday T Strategy
0 likes · 10 min read
How to Build and Backtest Low‑Frequency Trading Strategies in Python
MaGe Linux Operations
MaGe Linux Operations
Jun 4, 2021 · Fundamentals

13 Common Python Pitfalls Every Developer Should Avoid

This article explains the most frequent Python traps—such as mutable default arguments, subtle differences between x+=y and x=y+y, tuple syntax, list mutability, iteration pitfalls, closure binding, import quirks, version incompatibilities, and GIL—providing clear examples and practical solutions.

PitfallsPythonbest-practices
0 likes · 13 min read
13 Common Python Pitfalls Every Developer Should Avoid
360 Quality & Efficiency
360 Quality & Efficiency
Jun 4, 2021 · Fundamentals

Understanding the Snowflake Algorithm for Distributed Unique ID Generation

This article explains the background of migrating from MySQL to TiDB, introduces the Snowflake algorithm’s 64‑bit ID structure, discusses its advantages and disadvantages, provides a Python implementation, and highlights its impact on achieving globally unique, time‑ordered identifiers in distributed systems.

PythonTiDBdatabase migration
0 likes · 5 min read
Understanding the Snowflake Algorithm for Distributed Unique ID Generation
Python Programming Learning Circle
Python Programming Learning Circle
Jun 3, 2021 · Fundamentals

How to Use Progress Bars in Python with Progress, tqdm, alive-progress, and PySimpleGUI

This article introduces four popular Python progress‑bar libraries—Progress, tqdm, alive‑progress, and PySimpleGUI—explaining their installation, basic usage with concise code examples, and visual output, helping developers add lightweight command‑line or graphical progress indicators to their scripts.

CLIPythonalive-progress
0 likes · 5 min read
How to Use Progress Bars in Python with Progress, tqdm, alive-progress, and PySimpleGUI
Python Programming Learning Circle
Python Programming Learning Circle
Jun 3, 2021 · Fundamentals

How to Write Good Python Functions: Six Guidelines for Idiomatic Code

This article outlines six practical guidelines for writing clean, maintainable Python functions—including meaningful naming, single responsibility, comprehensive docstrings, returning useful values, limiting length, and ensuring idempotence or purity—illustrated with code examples and explanations to help developers improve function quality.

Pythoncodingidiomatic
0 likes · 13 min read
How to Write Good Python Functions: Six Guidelines for Idiomatic Code
Python Programming Learning Circle
Python Programming Learning Circle
Jun 2, 2021 · Artificial Intelligence

Implementing Linear Regression from Scratch in Python

This tutorial walks through the complete process of building a linear regression model in Python from loading a housing price dataset, normalizing features, defining hypothesis, cost and gradient‑descent functions, visualising data and cost convergence, and testing predictions, with full source code provided.

Pythongradient descentlinear regression
0 likes · 12 min read
Implementing Linear Regression from Scratch in Python
Python Crawling & Data Mining
Python Crawling & Data Mining
Jun 1, 2021 · Frontend Development

Mastering Tkinter: Build Interactive Python GUIs with Widgets and Menus

This article provides a comprehensive guide to Python's built‑in Tkinter GUI library, covering installation, window creation, core widgets such as labels, buttons, text boxes, menus, canvases, and advanced features like event binding and layout management, enabling readers to build functional desktop applications.

Desktop ApplicationGUIPython
0 likes · 21 min read
Mastering Tkinter: Build Interactive Python GUIs with Widgets and Menus
DevOps Engineer
DevOps Engineer
May 31, 2021 · Fundamentals

Writing Pythonic Code: Principles, Examples, and the Zen of Python

This article explains the concept of writing Pythonic code—leveraging Python’s language features for clear, concise, and maintainable programs—by contrasting non‑Pythonic examples with idiomatic solutions, illustrating the Zen of Python, and providing practical tips and references for developers.

Pythonbest practicescoding style
0 likes · 7 min read
Writing Pythonic Code: Principles, Examples, and the Zen of Python
MaGe Linux Operations
MaGe Linux Operations
May 30, 2021 · Fundamentals

Why Python 4 May Never Arrive – Guido van Rossum’s Perspective

Guido van Rossum explains why a Python 4 release is unlikely, detailing the language’s post‑Python‑2 evolution, the focus on incremental 3.x improvements, performance goals, and how future changes like C‑compatibility or removing the GIL could finally trigger a major version jump.

Guido van RossumPythonPython 4
0 likes · 6 min read
Why Python 4 May Never Arrive – Guido van Rossum’s Perspective
Test Development Learning Exchange
Test Development Learning Exchange
May 30, 2021 · Backend Development

Generating Barcodes in Python with Pillow and pyBarcode

This guide explains how to install the Pillow and pyBarcode Python packages and demonstrates two methods for generating various barcode formats—such as EAN13, Code39, and UPC—using the pyBarcode library, including code examples, configuration options, and saving the output as image files.

Image GenerationPythonbarcode
0 likes · 4 min read
Generating Barcodes in Python with Pillow and pyBarcode
MaGe Linux Operations
MaGe Linux Operations
May 29, 2021 · Backend Development

How to Style Django Forms with Widgets and Bootstrap

This tutorial explains what Django widgets are, shows how to customize form fields with CSS classes and attributes, and demonstrates both simple Form and ModelForm examples that integrate Bootstrap styling for a polished, functional user interface.

BootstrapDjangoForms
0 likes · 5 min read
How to Style Django Forms with Widgets and Bootstrap
21CTO
21CTO
May 28, 2021 · Fundamentals

Will Python 4 Ever Arrive? Guido van Rossum Explains Why It Might Not

Guido van Rossum, the creator of Python, reveals in a recent interview that a Python 4.0 is unlikely, explaining the team’s focus on incremental improvements through versions 3.9 to 3.13, performance boosts, type‑hint evolution, and the challenges of maintaining C compatibility, while also sharing his views on other languages like Rust, Go, and TypeScript.

Guido van RossumPythonPython 4
0 likes · 6 min read
Will Python 4 Ever Arrive? Guido van Rossum Explains Why It Might Not
MaGe Linux Operations
MaGe Linux Operations
May 28, 2021 · Backend Development

How to Reveal the Exact SQL Behind Django ORM Queries

This guide shows three practical ways—using the queryset query attribute, Django's connection object, and the Django Debug Toolbar—to inspect the raw SQL generated by Django ORM, helping developers optimize database performance and troubleshoot queries effectively.

BackendDebug ToolbarDjango
0 likes · 4 min read
How to Reveal the Exact SQL Behind Django ORM Queries
Zhongtong Tech
Zhongtong Tech
May 28, 2021 · Operations

Why Locust Is the Python Powerhouse for Load Testing: Features, Tips, and Real‑World Insights

This article introduces the Python‑based Locust load‑testing framework, explains its event‑driven architecture, weight‑based task distribution, command‑line and web UI operation, distributed execution, and practical usage patterns, then evaluates its advantages, drawbacks, and suitability for performance testing projects.

Distributed TestingEvent-drivenLoad Testing
0 likes · 10 min read
Why Locust Is the Python Powerhouse for Load Testing: Features, Tips, and Real‑World Insights
21CTO
21CTO
May 25, 2021 · Backend Development

Why Sanic Outperforms Flask, Django, and Tornado in Async Python Web Development

This article compares popular Python web frameworks, highlights the speed advantages of async frameworks—especially Sanic—through benchmark data, explains why asynchronous I/O matters, and discusses Sanic's ecosystem, production readiness, documentation, and community support.

AsyncBackendPython
0 likes · 10 min read
Why Sanic Outperforms Flask, Django, and Tornado in Async Python Web Development
MaGe Linux Operations
MaGe Linux Operations
May 24, 2021 · Fundamentals

Mastering Python Object Persistence: A Deep Dive into Pickle and Advanced Serialization

This article explains how Python persistence works by serializing objects with pickle and cPickle, compares file‑based and database storage, demonstrates basic and advanced usage—including handling circular references, custom classes, and versioning—and offers practical tips for maintaining pickled data across code changes.

Object PersistencePicklePython
0 likes · 22 min read
Mastering Python Object Persistence: A Deep Dive into Pickle and Advanced Serialization
Liangxu Linux
Liangxu Linux
May 23, 2021 · Backend Development

Master Parallel SSH: Install, Use, and Extend the pssh Tool Suite

This guide introduces parallel-ssh, a Python-based asynchronous SSH library for small‑scale automation, covering its history, Python‑3 support, installation methods across platforms, command‑line utilities (pssh, pscp, prsync, pslurp, pnuke), usage examples, and resource considerations.

PythonSSH automationcommand-line tools
0 likes · 6 min read
Master Parallel SSH: Install, Use, and Extend the pssh Tool Suite
Python Crawling & Data Mining
Python Crawling & Data Mining
May 23, 2021 · Backend Development

Build Distributed Python Processes with Multiprocessing Managers

This article explains why processes are preferred over threads for stability and multi‑machine distribution, introduces Python's multiprocessing.managers for networked task queues, and provides step‑by‑step code examples to create a distributed crawler that fetches image URLs and downloads them across several machines.

Pythonmultiprocessingnetwork queue
0 likes · 6 min read
Build Distributed Python Processes with Multiprocessing Managers
MaGe Linux Operations
MaGe Linux Operations
May 21, 2021 · Backend Development

10 Compelling Reasons to Choose Django for Your Next Project

This article explains why Python’s Django framework is a top choice for backend development, outlining its popularity, benefits, essential system‑planning and web‑script skills, rapid prototyping, scientific computing, and the specific Python and Django expertise needed to become a proficient developer.

DjangoPythonWeb framework
0 likes · 8 min read
10 Compelling Reasons to Choose Django for Your Next Project
MaGe Linux Operations
MaGe Linux Operations
May 20, 2021 · Fundamentals

How the “Shannon Plan” Aims to Double Python’s Speed in 3.11

Guido van Rossum revealed that the new “Shannon Plan” backed by Microsoft will target a 2× speed boost for CPython 3.11 through a specialized bytecode interpreter, stack optimizations, and other enhancements, while preserving ABI compatibility and open‑source principles.

CPythonGuido van RossumPEP 659
0 likes · 4 min read
How the “Shannon Plan” Aims to Double Python’s Speed in 3.11
Aotu Lab
Aotu Lab
May 20, 2021 · Artificial Intelligence

Why Linear Regression Matters: Theory, Python Implementation, and Boston Housing Prediction

An enthusiastic overview walks through the fundamentals of linear and multivariate regression, explains loss functions and least‑squares optimization, shows Python implementations of fit and predict, and applies the model to the classic Boston housing dataset to illustrate feature impact and prediction.

Pythonhousing price predictionlinear regression
0 likes · 10 min read
Why Linear Regression Matters: Theory, Python Implementation, and Boston Housing Prediction
Python Programming Learning Circle
Python Programming Learning Circle
May 20, 2021 · Fundamentals

Top VS Code Extensions for Python Developers (2021)

This article introduces and explains the most useful Visual Studio Code extensions for Python developers in 2021, covering essential tools such as the Python language support, Python Snippets, Docstring Generator, Test Explorer, Preview, Type Hint, and Jupyter integration to boost productivity and code quality.

DevelopmentExtensionsPython
0 likes · 5 min read
Top VS Code Extensions for Python Developers (2021)
Python Crawling & Data Mining
Python Crawling & Data Mining
May 20, 2021 · Fundamentals

How the Shannon Plan Aims to Make CPython 5× Faster

Guido van Rossum’s recent “Making CPython Faster” talk reveals the Shannon Plan—a four‑year effort, backed by Microsoft, to boost Python’s performance up to five times, with the first milestone targeting a 2× speedup in the upcoming Python 3.11 release through adaptive bytecode interpreters and other optimizations.

CPythonGuido van RossumPEP 659
0 likes · 4 min read
How the Shannon Plan Aims to Make CPython 5× Faster
MaGe Linux Operations
MaGe Linux Operations
May 19, 2021 · Fundamentals

Python Variable Scope, References, Lambdas & Recursion Explained

This article explains the differences between local and global variables in Python, how to modify globals with the global keyword, the behavior of mutable and immutable objects, demonstrates variable scope with code examples, and also covers references, lambda anonymous functions, and recursive implementations such as factorial calculations.

LambdaPythonRecursion
0 likes · 6 min read
Python Variable Scope, References, Lambdas & Recursion Explained
Python Crawling & Data Mining
Python Crawling & Data Mining
May 19, 2021 · Backend Development

urllib vs requests: Which Python Library Wins for Web Scraping?

This article compares Python's built‑in urllib library with the third‑party requests library, demonstrating their usage through code examples, highlighting differences in request construction, response handling, and practical considerations for web scraping, and concludes with recommendations for choosing the more convenient tool.

HTTPPythonTutorial
0 likes · 6 min read
urllib vs requests: Which Python Library Wins for Web Scraping?
Python Programming Learning Circle
Python Programming Learning Circle
May 18, 2021 · Fundamentals

Object Persistence in Python Using Pickle and Related Techniques

This article explains Python object persistence, covering the concepts of serialization with pickle and cPickle, various storage mechanisms, handling of complex objects, reference cycles, class instance pickling, versioning strategies, and advanced techniques such as custom state methods and Pickler/Unpickler usage.

Object-OrientedPersistencePickle
0 likes · 22 min read
Object Persistence in Python Using Pickle and Related Techniques
Python Crawling & Data Mining
Python Crawling & Data Mining
May 18, 2021 · Fundamentals

Master Python Classes: From Basics to Advanced OOP Techniques

An in‑depth Python tutorial walks through the fundamentals of classes, covering creation, instance and class methods, protected and private members, core OOP features such as encapsulation, inheritance and polymorphism, as well as dynamic attribute handling with __slots__ and property decorators, illustrated with clear examples.

EncapsulationInheritanceOOP
0 likes · 8 min read
Master Python Classes: From Basics to Advanced OOP Techniques
Ops Development Stories
Ops Development Stories
May 18, 2021 · Information Security

Master Scapy: Build, Send, and Analyze Packets with Python

This guide introduces Scapy, a powerful interactive Python packet manipulation tool, covering installation, basic usage, packet creation, sending and receiving functions, layer inspection, packet export formats, sniffing, and advanced features such as sprintf and custom packet handlers, enabling network testing, analysis, and security tasks.

PythonScapypacket manipulation
0 likes · 18 min read
Master Scapy: Build, Send, and Analyze Packets with Python
21CTO
21CTO
May 15, 2021 · Fundamentals

Can Python’s Creator Double Its Speed? Inside Guido’s New CPython Push

Guido van Rossum, now a Microsoft Distinguished Engineer, promises to boost CPython performance by up to five times without breaking existing code, detailing the team, funding, and security efforts behind the ambitious speed upgrades slated for Python 3.11 and beyond.

CPythonGuido van RossumMicrosoft
0 likes · 6 min read
Can Python’s Creator Double Its Speed? Inside Guido’s New CPython Push
MaGe Linux Operations
MaGe Linux Operations
May 15, 2021 · Fundamentals

How Python’s Garbage Collector Works: Reference Counting, Mark‑Sweep, and Generational GC Explained

This article explains Python's memory management, covering reference counting, its limitations with cyclic references, and how the interpreter supplements it with mark‑sweep and generational garbage‑collection algorithms, complete with code examples and detailed diagrams of the underlying mechanisms.

Garbage CollectionGenerational GCMark‑Sweep
0 likes · 47 min read
How Python’s Garbage Collector Works: Reference Counting, Mark‑Sweep, and Generational GC Explained
Youzan Coder
Youzan Coder
May 14, 2021 · Frontend Development

Automating WeChat Mini‑Program Tests with Minium and Jest

This guide explains why manual regression testing of a WeChat mini‑program becomes a bottleneck, compares Jest‑based SDK and Minium frameworks, shows how to set up the environment, write page‑object scripts, configure and run tests, generate reports, and troubleshoot common issues.

MiniProgramMiniumPython
0 likes · 16 min read
Automating WeChat Mini‑Program Tests with Minium and Jest
360 Tech Engineering
360 Tech Engineering
May 14, 2021 · Backend Development

Introduction to GraphQL: Concepts, Usage, and a Python Flask Implementation

This article explains the limitations of traditional RESTful APIs, introduces GraphQL as a flexible query language, details its core concepts such as operation types, object and scalar types, and schema definition, and provides a complete Python Flask example with code analysis, execution steps, and a discussion of its advantages and drawbacks.

APIFlaskGraphQL
0 likes · 9 min read
Introduction to GraphQL: Concepts, Usage, and a Python Flask Implementation
Python Crawling & Data Mining
Python Crawling & Data Mining
May 14, 2021 · Fundamentals

Master Python Threading: From Basics to Advanced Techniques

This article provides a comprehensive guide to Python threading, covering core concepts such as thread creation, synchronization primitives like locks, RLocks, conditions, semaphores, events, local storage, and timers, complete with practical code examples and explanations of their usage and pitfalls.

LockPythonSynchronization
0 likes · 12 min read
Master Python Threading: From Basics to Advanced Techniques
Sohu Tech Products
Sohu Tech Products
May 12, 2021 · Artificial Intelligence

Zero‑Basis Food Sound Recognition with ASR: Theory, Workflow, and Complete Python Code

This article introduces the fundamentals of automatic speech recognition (ASR) for food‑sound classification, explains key audio representations and modeling approaches, and provides a fully runnable Python implementation using librosa, TensorFlow/Keras, and classic machine‑learning tools to train and predict on the Tianchi competition dataset.

ASRAudio ClassificationCNN
0 likes · 11 min read
Zero‑Basis Food Sound Recognition with ASR: Theory, Workflow, and Complete Python Code
Efficient Ops
Efficient Ops
May 12, 2021 · Operations

7 Ready‑to‑Use Python & Shell Scripts to Supercharge Your Ops

This article shares a curated collection of ready‑to‑run Python and Shell scripts—including Enterprise WeChat alerts, FTP and SSH clients, SaltStack and vCenter utilities, SSL certificate checks, weather notifications, SVN backups, Zabbix password monitoring, local YUM mirroring, and high‑load detection—complete with full source code and usage notes to help engineers automate routine tasks and boost operational efficiency.

OpsPythonShell
0 likes · 30 min read
7 Ready‑to‑Use Python & Shell Scripts to Supercharge Your Ops
Architecture Digest
Architecture Digest
May 12, 2021 · Backend Development

Performance Optimization of a High‑Concurrency Python Web Service

This article documents a Python web service performance optimization case, detailing the initial bottlenecks, architectural redesign with caching and message queues, load‑testing methodology, Linux TCP time‑wait tuning, and the final results achieving 50k QPS with sub‑70 ms latency.

Linux TuningLoad TestingPython
0 likes · 9 min read
Performance Optimization of a High‑Concurrency Python Web Service
Python Crawling & Data Mining
Python Crawling & Data Mining
May 10, 2021 · Fundamentals

Master NumPy: Turn Math Formulas into Python Code

This article explains how to use Python's NumPy library to translate common mathematical formulas—such as powers, roots, absolute values, vector and matrix operations—into concise, executable code, covering setup, basic operations, and practical examples for data analysis and machine learning.

NumPyPythondata analysis
0 likes · 11 min read
Master NumPy: Turn Math Formulas into Python Code
MaGe Linux Operations
MaGe Linux Operations
May 8, 2021 · Fundamentals

Why PyPy Can Run Python Faster Than C: JIT Explained with Benchmarks

The article explains how PyPy’s just‑in‑time compilation can make Python code run faster than even native C implementations, demonstrates benchmark results comparing default Python, PyPy, and C, and outlines the differences between ahead‑of‑time compilation, interpretation, and JIT.

CompilationJITPyPy
0 likes · 5 min read
Why PyPy Can Run Python Faster Than C: JIT Explained with Benchmarks
Python Programming Learning Circle
Python Programming Learning Circle
May 8, 2021 · Artificial Intelligence

Top 10 New Features in Scikit‑learn 0.24

The article reviews the most important additions in scikit‑learn 0.24, including faster hyper‑parameter search methods, ICE plots, histogram‑based boosting improvements, new feature‑selection tools, polynomial‑feature approximations, a semi‑supervised classifier, MAPE metric, enhanced OneHotEncoder and OrdinalEncoder handling, and a more flexible RFE interface.

Model EvaluationPythondata preprocessing
0 likes · 8 min read
Top 10 New Features in Scikit‑learn 0.24
MaGe Linux Operations
MaGe Linux Operations
May 7, 2021 · Fundamentals

7 Fun Python Projects to Automate Everyday Tasks (Full Code Included)

This article shares seven practical Python scripts—from web‑scraping Zhihu images and chatting bots to AI poem analysis, lottery generation, automatic apology letters, screen recording, and GIF creation—demonstrating how to avoid reinventing the wheel while learning useful automation techniques.

AICode ExamplesPython
0 likes · 9 min read
7 Fun Python Projects to Automate Everyday Tasks (Full Code Included)
Python Crawling & Data Mining
Python Crawling & Data Mining
May 7, 2021 · Fundamentals

Automate Excel Reporting with Python: A Step‑by‑Step Guide

This article walks you through automating daily loan reporting for a bank using Python and pandas, covering data loading, date filtering, table splitting, column renaming, concatenation, missing‑value handling, calculated fields, and pivot‑table generation to replace repetitive Excel tasks.

Excel AutomationPythonbank loans
0 likes · 13 min read
Automate Excel Reporting with Python: A Step‑by‑Step Guide
Liangxu Linux
Liangxu Linux
May 5, 2021 · Information Security

Mastering Common TCP/IP Attacks: From IP Spoofing to DDoS and MITM

This guide reviews the most frequent TCP/IP attacks—including IP spoofing, SYN flooding, UDP flooding, TCP reset hijacking, man‑in‑the‑middle, and DDoS—explains their underlying protocols, demonstrates practical exploitation with Python/Scapy and Netcat, and outlines mitigation techniques and cryptographic fundamentals.

DDoSMITMPython
0 likes · 27 min read
Mastering Common TCP/IP Attacks: From IP Spoofing to DDoS and MITM
Python Crawling & Data Mining
Python Crawling & Data Mining
May 5, 2021 · Game Development

Master Pyglet: Build Games, Audio, and Video with Python

This tutorial walks you through installing pyglet, creating windows, adding text and images, handling keyboard and mouse events, processing input, and playing audio and video, providing a comprehensive guide to building lightweight Python games and multimedia applications.

Game DevelopmentPythonaudio
0 likes · 15 min read
Master Pyglet: Build Games, Audio, and Video with Python
Python Crawling & Data Mining
Python Crawling & Data Mining
May 4, 2021 · Big Data

Unlock 100+ Free Data APIs with Just 3 Lines of Python

This article introduces the GoPUP library, which provides over a hundred free data interfaces—including social media indexes, macro‑economic figures, company information, and epidemic statistics—accessible with simple Python code, making data analysis faster and easier.

APIBig DataPython
0 likes · 7 min read
Unlock 100+ Free Data APIs with Just 3 Lines of Python
Test Development Learning Exchange
Test Development Learning Exchange
May 3, 2021 · Operations

Using Locust for Distributed Load Testing: Installation, Script Explanation, and Execution

This article introduces Locust, an open‑source Python load‑testing framework, explains how to install it (including optional pyzmq for distributed mode), describes its core components, walks through a sample test script with database integration, and shows how to run and interpret results via the web UI or command line.

Distributed TestingLoad TestingLocust
0 likes · 7 min read
Using Locust for Distributed Load Testing: Installation, Script Explanation, and Execution
MaGe Linux Operations
MaGe Linux Operations
May 2, 2021 · Fundamentals

How to Speed Up Python: 5 Proven Alternatives to CPython

Although Python is slower than C or Java for CPU‑intensive tasks, several projects such as PyPy, Pyston, Nuitka, Cython, and Numba offer practical ways to boost its performance, each with its own trade‑offs and compatibility considerations.

CythonPyPyPython
0 likes · 6 min read
How to Speed Up Python: 5 Proven Alternatives to CPython
MaGe Linux Operations
MaGe Linux Operations
Apr 29, 2021 · Fundamentals

Why Is Python So Slow? Boost Speed 1000× with NumPy UFuncs

This article examines Python's notorious performance lag, explains why its dynamic typing and object overhead make simple loops sluggish, and demonstrates how NumPy's universal functions can accelerate reciprocal calculations by over a thousand times, outperforming even compiled languages.

NumPyPythonUFunc
0 likes · 9 min read
Why Is Python So Slow? Boost Speed 1000× with NumPy UFuncs
Python Programming Learning Circle
Python Programming Learning Circle
Apr 29, 2021 · Fundamentals

Python Basics: Variables, Control Flow, Data Structures, and Object‑Oriented Programming

This tutorial introduces Python fundamentals, covering why to learn the language, variable assignment, conditional statements, loops, lists, dictionaries, iteration techniques, and core object‑oriented concepts such as classes, getters/setters, encapsulation, and inheritance, all illustrated with clear code examples.

Control FlowData StructuresInheritance
0 likes · 20 min read
Python Basics: Variables, Control Flow, Data Structures, and Object‑Oriented Programming
Python Programming Learning Circle
Python Programming Learning Circle
Apr 29, 2021 · Backend Development

Why Sanic Is the Preferred Asynchronous Python Web Framework for High‑Performance Applications

This article compares traditional Python web frameworks with modern asynchronous alternatives, presents benchmark data showing Sanic’s superior speed, explains the benefits of async I/O, and discusses Sanic’s ecosystem, production readiness, documentation, and community support for developers seeking high‑performance backend solutions.

AsyncPythonWeb framework
0 likes · 9 min read
Why Sanic Is the Preferred Asynchronous Python Web Framework for High‑Performance Applications
Python Programming Learning Circle
Python Programming Learning Circle
Apr 28, 2021 · Fundamentals

How to Speed Up Python Programs: Profiling, Timing, and Practical Optimization Techniques

This article explains why Python itself is not slow, demonstrates how to identify bottlenecks with timing and cProfile, and provides a collection of practical tips—such as using built‑in types, lru_cache, local variables, and efficient string formatting—to improve Python program performance by up to 30 percent.

ProfilingPythoncprofile
0 likes · 10 min read
How to Speed Up Python Programs: Profiling, Timing, and Practical Optimization Techniques