Tagged articles

Python

5000 articles · Page 44 of 50
Python Programming Learning Circle
Python Programming Learning Circle
Jul 29, 2021 · Fundamentals

Python Word Automation and Data Reporting Tutorial with python-docx, win32com, matplotlib, and xlrd

This tutorial walks through setting up a Python environment, installing libraries, creating and editing Word documents with python-docx, converting files and generating PDFs using win32com, extracting Excel data with xlrd, visualizing scores with matplotlib, and automating batch document generation with docx-mailmerge.

Pythonautomationpython-docx
0 likes · 19 min read
Python Word Automation and Data Reporting Tutorial with python-docx, win32com, matplotlib, and xlrd
Python Programming Learning Circle
Python Programming Learning Circle
Jul 28, 2021 · Backend Development

Python Requests Tutorial: GET, POST, HTTPS, File Upload/Download, Timeout, Authentication, Session, Token, and Test Automation Framework

This article provides a comprehensive Python tutorial covering how to send GET and POST requests, handle HTTPS verification, perform file uploads and downloads, set request timeouts, use basic and token authentication, manage sessions, generate signatures, and organize a test automation framework with configuration, common utilities, test data, test cases, reporting, and execution scripts.

API-testingBackendPython
0 likes · 12 min read
Python Requests Tutorial: GET, POST, HTTPS, File Upload/Download, Timeout, Authentication, Session, Token, and Test Automation Framework
Python Crawling & Data Mining
Python Crawling & Data Mining
Jul 24, 2021 · Fundamentals

Master Pandas: A Step‑by‑Step Guide to Data Analysis with Python

This comprehensive tutorial introduces Pandas—the powerful Python library for data manipulation and analysis—covers installation, data import, inspection, cleaning, indexing, selection, sorting, grouping, transformation, statistical functions, visualization, and exporting, all illustrated with clear code examples and visual outputs.

Data AnalysisData ScienceJupyter Notebook
0 likes · 18 min read
Master Pandas: A Step‑by‑Step Guide to Data Analysis with Python
Test Development Learning Exchange
Test Development Learning Exchange
Jul 21, 2021 · Artificial Intelligence

Drawing Shapes on Images with OpenCV in Python

This tutorial demonstrates how to use OpenCV in Python to read an image and draw basic shapes such as rectangles and circles by specifying coordinates, dimensions, colors, and line thickness, then display the edited image in a window.

Drawing ShapesOpenCVPython
0 likes · 2 min read
Drawing Shapes on Images with OpenCV in Python
Test Development Learning Exchange
Test Development Learning Exchange
Jul 20, 2021 · Artificial Intelligence

Resizing Images with Python and OpenCV

This article demonstrates how to use Python's OpenCV library to read an image, display its original dimensions, resize it to a specified size, save the resized image, and handle user input to close the display windows.

OpenCVPythonResize
0 likes · 2 min read
Resizing Images with Python and OpenCV
Efficient Ops
Efficient Ops
Jul 18, 2021 · Operations

Master Ansible in 16 Visual Steps

Ansible, a rapidly popular open‑source automation tool built on Python, simplifies batch system configuration, program deployment, and command execution with thousands of built‑in modules, offering a beginner‑friendly yet powerful solution for modern operations teams.

OperationsPythonansible
0 likes · 3 min read
Master Ansible in 16 Visual Steps
Test Development Learning Exchange
Test Development Learning Exchange
Jul 17, 2021 · Artificial Intelligence

Face Recognition with OpenCV and Python

This tutorial explains the concept of facial recognition, describes how it works, and provides step‑by‑step instructions and code examples for implementing face detection and identification using OpenCV and Python, including installation, basic image handling, and a complete sample script.

OpenCVPythoncomputer vision
0 likes · 4 min read
Face Recognition with OpenCV and Python
MaGe Linux Operations
MaGe Linux Operations
Jul 17, 2021 · Fundamentals

Unlock Beautiful Terminal Output in Python with Rich

This tutorial introduces the Rich Python library, covering its cross‑platform compatibility, installation steps, enhanced print functions, custom console usage, logging, tables, progress bars, markdown rendering, syntax highlighting, and traceback formatting, all illustrated with clear code examples and screenshots.

FormattingPythoncode
0 likes · 10 min read
Unlock Beautiful Terminal Output in Python with Rich
MaGe Linux Operations
MaGe Linux Operations
Jul 13, 2021 · Artificial Intelligence

Build a Batch Image Translation Tool with Youdao OCR API in Python

This article walks through creating a Python desktop demo that uses Youdao's OCR translation API to batch‑process cosmetic product label images, covering API credential setup, request parameters, signature generation, core code snippets, and a summary of the translation results.

APIOCRPython
0 likes · 10 min read
Build a Batch Image Translation Tool with Youdao OCR API in Python
Python Crawling & Data Mining
Python Crawling & Data Mining
Jul 13, 2021 · Artificial Intelligence

What Python Reveals About Public Reaction to “Chinese Doctor” – A Data‑Driven Review Analysis

Using Python, the author collected and visualized Douban and Weibo comments on the film “Chinese Doctor,” showing rating distributions, keyword word clouds, and fan sentiment, and compares the 2021 movie with the 2019 documentary to illustrate audience perception of the pandemic drama.

Data AnalysisDoubanNLP
0 likes · 5 min read
What Python Reveals About Public Reaction to “Chinese Doctor” – A Data‑Driven Review Analysis
21CTO
21CTO
Jul 12, 2021 · Backend Development

Master Scrapy: From Basics to Advanced Spider Development

This comprehensive guide introduces Scrapy's architecture, explains its core components and data flow, teaches XPath fundamentals, walks through installation, project creation, spider coding, item and pipeline definitions, middleware customization, pagination handling, and essential settings for effective Python web crawling.

CrawlerPythonWeb Scraping
0 likes · 14 min read
Master Scrapy: From Basics to Advanced Spider Development
MaGe Linux Operations
MaGe Linux Operations
Jul 12, 2021 · Backend Development

Boost Python API Testing Speed with Async httpx: A Practical Guide

This article explains what coroutines are, compares them with threads, outlines when to use them, introduces the async‑capable httpx library, shows installation and sample code, and demonstrates a performance test where asynchronous requests cut execution time by about 73% compared to synchronous requests.

BackendPerformancePython
0 likes · 7 min read
Boost Python API Testing Speed with Async httpx: A Practical Guide
Python Programming Learning Circle
Python Programming Learning Circle
Jul 10, 2021 · Fundamentals

Understanding Shallow and Deep Copy in Python

This article explains Python's shallow and deep copy mechanisms, demonstrates their differences with code examples, visual diagrams, and discusses when to use each approach, highlighting performance and memory considerations in software development.

COPYDeep CopyPython
0 likes · 5 min read
Understanding Shallow and Deep Copy in Python
Python Programming Learning Circle
Python Programming Learning Circle
Jul 7, 2021 · Frontend Development

Python Seat Reservation System with PySide2 GUI and Command‑Line Tools

This article presents a complete Python‑based seat reservation system that uses PySide2 to build an interactive graphical interface for selecting and booking seats, stores configuration and occupancy data in JSON files, and provides command‑line utilities for checking in, checking out, making reservations, and handling temporary leaves, illustrating both front‑end UI design and back‑end logic in a single project.

JSONPythonbooking
0 likes · 20 min read
Python Seat Reservation System with PySide2 GUI and Command‑Line Tools
Python Crawling & Data Mining
Python Crawling & Data Mining
Jul 7, 2021 · Fundamentals

Unlock Fast Pandas Mastery with a Free Cheat Sheet and 10 eBooks

This article introduces a free Pandas cheat sheet covering data creation, reshaping, selection, exploration, modification, grouping, and merging, provides direct download links, showcases key functions with images, and explains how to obtain high‑resolution versions for quick reference.

Cheat SheetData AnalysisData manipulation
0 likes · 5 min read
Unlock Fast Pandas Mastery with a Free Cheat Sheet and 10 eBooks
360 Quality & Efficiency
360 Quality & Efficiency
Jul 2, 2021 · Backend Development

Integrating Scrapy with Selenium for Dynamic Web Page Crawling

This guide explains how to combine Scrapy and Selenium to scrape dynamically rendered web pages, covering installation, project setup, middleware configuration, Selenium driver handling, and code examples that demonstrate a complete end‑to‑end crawling workflow.

Dynamic PagesPythonWeb Scraping
0 likes · 12 min read
Integrating Scrapy with Selenium for Dynamic Web Page Crawling
Byte Quality Assurance Team
Byte Quality Assurance Team
Jun 30, 2021 · Fundamentals

Understanding Teardown and Idempotency in Pytest for Automated Testing

This article explains the concept of teardown and idempotency in automated testing, illustrates single‑thread and concurrent scenarios, and demonstrates various Pytest teardown techniques—including function, class, module, fixture yield, request.addfinalizer, and object‑oriented approaches—providing practical code examples for reliable test cleanup.

PythonTeardownidempotency
0 likes · 9 min read
Understanding Teardown and Idempotency in Pytest for Automated Testing
Python Programming Learning Circle
Python Programming Learning Circle
Jun 30, 2021 · Backend Development

Comparison of Seven Popular Python Web Frameworks

This article introduces seven open‑source Python web frameworks—Django, Flask, Scrapy, Tornado, Web2py, Weppy, and Bottle—detailing their main features, typical use cases, and the key advantages and disadvantages of each to help developers choose the most suitable framework for their projects.

DjangoPythonWeb Framework
0 likes · 8 min read
Comparison of Seven Popular Python Web Frameworks
Python Programming Learning Circle
Python Programming Learning Circle
Jun 29, 2021 · Fundamentals

Top Python IDEs and Code Editors: Features, Pros, Cons, and Compatibility

This article provides a comprehensive overview of the most popular Python IDEs and code editors—including PyCharm, Visual Studio Code, Sublime Text, Vim, Emacs, and many others—detailing their main features, plugins, compatibility across operating systems, advantages, disadvantages, and download links to help developers choose the tool that best fits their workflow and project requirements.

Development ToolsIDEPython
0 likes · 10 min read
Top Python IDEs and Code Editors: Features, Pros, Cons, and Compatibility

Comprehensive UI Automation Framework for the Dali Smart Homework Lamp: Challenges, Solutions, and Future Directions

This article details a comprehensive UI automation framework for the Dali Smart Homework Lamp, covering business context, product features, testing challenges, automated script generation, modular case design, multi-device coordination, error analysis, and future directions for intelligent UI validation.

Multi-devicePythonTesting Framework
0 likes · 17 min read
Comprehensive UI Automation Framework for the Dali Smart Homework Lamp: Challenges, Solutions, and Future Directions
Python Crawling & Data Mining
Python Crawling & Data Mining
Jun 29, 2021 · Fundamentals

Master Python Dictionary Comprehensions: Concise Tricks and Real‑World Examples

Learn how Python dictionary comprehensions let you create and transform dictionaries efficiently, with clear syntax explanations, multiple examples—including basic usage, conditional filters, if‑else logic, and nested comprehensions—plus visual output screenshots and practical code snippets to boost your coding productivity.

Code ExamplesConditional LogicPython
0 likes · 7 min read
Master Python Dictionary Comprehensions: Concise Tricks and Real‑World Examples
DataFunTalk
DataFunTalk
Jun 28, 2021 · Fundamentals

Bayesian A/B Testing with PyMC3: A Practical Guide

This article introduces the motivation and logic behind A/B testing, highlights common misunderstandings of p‑values, and demonstrates how Bayesian A/B testing using PyMC3 can provide intuitive probability statements about which variant performs better, complete with Python code examples.

A/B testingBayesian statisticsPyMC3
0 likes · 12 min read
Bayesian A/B Testing with PyMC3: A Practical Guide
21CTO
21CTO
Jun 27, 2021 · Fundamentals

Boost Your Jupyter Workflow: How Jupytext Bridges Notebooks and IDEs

Jupytext lets you convert Jupyter Notebooks to plain‑text formats, enabling seamless version control and IDE editing while preserving the visual advantages of notebooks, making data‑science projects more manageable and collaborative.

IDE integrationJupyterJupytext
0 likes · 6 min read
Boost Your Jupyter Workflow: How Jupytext Bridges Notebooks and IDEs
MaGe Linux Operations
MaGe Linux Operations
Jun 25, 2021 · Fundamentals

12 Must‑Know NumPy & Pandas Functions to Supercharge Your Data Analysis

This article introduces twelve powerful NumPy and Pandas functions—six for each library—explaining their purpose, usage, and providing code snippets, enabling readers to perform efficient array manipulation, data filtering, aggregation, and I/O operations, with a link to the full Jupyter Notebook on GitHub.

FunctionsJupyter NotebookPython
0 likes · 11 min read
12 Must‑Know NumPy & Pandas Functions to Supercharge Your Data Analysis
Python Crawling & Data Mining
Python Crawling & Data Mining
Jun 25, 2021 · Backend Development

How to Scrape NBA Player Stats from Hupu and Auto‑Generate Excel Charts with Python

This guide walks you through building a Python web‑scraper that extracts NBA player information from the Hupu website, cleans and visualizes the data, and automatically creates Excel files with embedded line charts, covering URL navigation, data parsing with requests and BeautifulSoup, and chart generation with xlsxwriter.

BeautifulSoupData VisualizationNBA
0 likes · 10 min read
How to Scrape NBA Player Stats from Hupu and Auto‑Generate Excel Charts with Python
Python Programming Learning Circle
Python Programming Learning Circle
Jun 24, 2021 · Fundamentals

Is Python Losing Its Charm? An Analysis of Its Strengths, Weaknesses, and Future

The article examines why Python has remained popular due to its readability, extensive libraries, and ease of use, while also highlighting its performance limitations, GIL, memory usage, weak mobile support, and competition from emerging languages, concluding that Python remains a valuable but not universally optimal tool.

Language comparisonPerformanceProgramming Language
0 likes · 5 min read
Is Python Losing Its Charm? An Analysis of Its Strengths, Weaknesses, and Future
Byte Quality Assurance Team
Byte Quality Assurance Team
Jun 23, 2021 · Fundamentals

Understanding Python Properties and Descriptors

This article explains Python's property decorator and descriptor protocol, showing how to turn methods into managed attributes, perform validation, compute derived values, and illustrates their implementation with clear code examples including a Student class, a custom descriptor, and a classmethod reimplementation.

Code ExampleDescriptorOOP
0 likes · 8 min read
Understanding Python Properties and Descriptors
Python Crawling & Data Mining
Python Crawling & Data Mining
Jun 22, 2021 · Frontend Development

Why Python GUIs Look Ugly and How to Make Them Beautiful

Although many developers criticize Tkinter and PyQt5 for producing unattractive interfaces, this article explains that functionality is prioritized over aesthetics, draws parallels between PyQt5 widgets and web HTML/CSS/JS components, and offers practical tips—design prototypes, leveraging QSS, and using widget properties—to dramatically improve Python desktop GUI appearance.

GUIPyQt5Python
0 likes · 7 min read
Why Python GUIs Look Ugly and How to Make Them Beautiful
21CTO
21CTO
Jun 20, 2021 · Fundamentals

Will Python’s Reign End? Analyzing Its Rise, Weaknesses, and Future Competitors

Despite Python’s explosive growth since 2010 and its dominance across data science, AI, and general programming, this article examines the language’s strengths—maturity, readability, extensive libraries—and its drawbacks such as speed, dynamic scope, and limited mobile support, while exploring whether emerging languages like Rust, Go, or Julia might eventually replace it.

GoJuliaPerformance
0 likes · 10 min read
Will Python’s Reign End? Analyzing Its Rise, Weaknesses, and Future Competitors
Python Programming Learning Circle
Python Programming Learning Circle
Jun 19, 2021 · Fundamentals

Five Advanced Python Features and Their Usage

This article introduces five advanced Python features—lambda functions, map, filter, the itertools module, and generator functions—explaining their concepts, typical use cases, and providing clear code examples to demonstrate how they simplify data processing and improve memory efficiency.

Advanced FeaturesPythongenerator
0 likes · 8 min read
Five Advanced Python Features and Their Usage
Python Crawling & Data Mining
Python Crawling & Data Mining
Jun 19, 2021 · Fundamentals

Essential Python Data Analysis Libraries You Must Know

This article provides a concise overview of key Python data‑analysis libraries—including NumPy, pandas, matplotlib, IPython/Jupyter, SciPy, scikit‑learn, and statsmodels—explaining their core features, typical use cases, and how they interoperate to form a powerful scientific computing ecosystem.

Data AnalysisNumPyPython
0 likes · 12 min read
Essential Python Data Analysis Libraries You Must Know
Python Programming Learning Circle
Python Programming Learning Circle
Jun 17, 2021 · Fundamentals

Advanced Python Data Visualization Libraries: Plotly, Cufflinks, Folium, Altair, and D3.js

This article introduces several powerful Python data‑visualization libraries—including Plotly, Cufflinks, Folium, Altair, and the JavaScript‑based D3.js—explains their strengths, provides installation commands, and offers practical code examples for creating interactive charts, maps, and 3D visualizations within Jupyter notebooks.

AltairD3.jsFolium
0 likes · 9 min read
Advanced Python Data Visualization Libraries: Plotly, Cufflinks, Folium, Altair, and D3.js
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 languageLanguage PopularityPython
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.

IteratorPythonResource Limits
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.

Grid StrategyIntraday T StrategyPython
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.

Pythonbest-practicesbugs
0 likes · 13 min read
13 Common Python Pitfalls Every Developer Should Avoid
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.

CodingPythonidiomatic
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.

Linear RegressionPythongradient descent
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 RossumPerformancePython
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.

Pythonbarcodecoding tutorial
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 RossumLanguage DesignPerformance
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 TestingLoad TestingLocust
0 likes · 10 min read
Why Locust Is the Python Powerhouse for Load Testing: Features, Tips, and Real‑World Insights