Tagged articles
5000 articles
Page 29 of 50
Test Development Learning Exchange
Test Development Learning Exchange
May 20, 2023 · Information Security

Build a Simple Python Port Scanner: Step‑by‑Step Guide

This article explains how to create a Python‑based network port scanner that probes a target host, uses sockets and multithreading to detect open TCP ports, and provides clear usage instructions, sample code, and optional enhancements for faster or more comprehensive scanning.

Argument ParsingPort ScannerPython
0 likes · 9 min read
Build a Simple Python Port Scanner: Step‑by‑Step Guide
Python Programming Learning Circle
Python Programming Learning Circle
May 20, 2023 · Backend Development

Rye: A Rust‑Based Python Package Manager That Quickly Topped GitHub Trending

Rye, a Rust‑written Python package manager created by Flask author Armin Ronacher, quickly topped GitHub Trending, offering one‑stop management of Python packages, environments, and projects with features like automatic installation, global isolation tools, and seamless pyproject.toml handling, illustrated through command‑line examples and praised by developers such as Simon Willison.

Pythonpackage-management
0 likes · 5 min read
Rye: A Rust‑Based Python Package Manager That Quickly Topped GitHub Trending
Test Development Learning Exchange
Test Development Learning Exchange
May 18, 2023 · Fundamentals

Three Python 3 Methods for Bulk File Renaming

This article introduces three Python 3 techniques for bulk file renaming—recursive numbering, renaming based on creation timestamps, and using regular expressions—explaining their advantages, providing complete code examples, and guiding readers on adapting the scripts for their own file management needs.

Bulk ProcessingFile RenamingPython
0 likes · 6 min read
Three Python 3 Methods for Bulk File Renaming
JD Retail Technology
JD Retail Technology
May 16, 2023 · Artificial Intelligence

Deploying and Fine‑Tuning the Alpaca‑LoRA Large Language Model on a Multi‑GPU Server

This guide details the end‑to‑end process of installing GPU drivers, setting up a Python environment, deploying the open‑source Alpaca‑LoRA model, fine‑tuning it with Chinese data on a multi‑GPU server, and performing inference, while highlighting practical challenges and performance observations.

Alpaca-LoRADeep LearningGPU
0 likes · 11 min read
Deploying and Fine‑Tuning the Alpaca‑LoRA Large Language Model on a Multi‑GPU Server
Python Programming Learning Circle
Python Programming Learning Circle
May 16, 2023 · Fundamentals

Python Is Effectively Two Languages: Typed vs. Untyped and Why It’s a Good Thing

The article explains how Python now exists as both a typed and an untyped language, distinguishes infrastructure code from business‑logic code, and argues that embracing both styles—using type hints for business logic while keeping infrastructure flexible—strengthens developers and improves software quality.

Pythonbusiness-logicinfrastructure-code
0 likes · 7 min read
Python Is Effectively Two Languages: Typed vs. Untyped and Why It’s a Good Thing
Continuous Delivery 2.0
Continuous Delivery 2.0
May 16, 2023 · Artificial Intelligence

How to Write Effective Prompts and Use the OpenAI Python API

This article explains practical principles and techniques for crafting clear, specific prompts for ChatGPT, demonstrates how to structure prompts with separators and output formats, and provides a step‑by‑step guide—including code examples—for installing the OpenAI Python library, obtaining an API key, and writing a reusable get_completion function to interact with the model.

AIChatGPTCode Examples
0 likes · 9 min read
How to Write Effective Prompts and Use the OpenAI Python API
Python Programming Learning Circle
Python Programming Learning Circle
May 15, 2023 · Fundamentals

10 Practical pip Commands and Tips for Managing Python Packages

This article introduces ten useful pip techniques—including installation, upgrading, version-specific installs, uninstalling, checking for updates, handling compatibility, using domestic mirrors, downloading without installing, and batch installing from requirements files—to help Python developers efficiently manage their packages.

InstallationPythoncommand line
0 likes · 7 min read
10 Practical pip Commands and Tips for Managing Python Packages
Test Development Learning Exchange
Test Development Learning Exchange
May 13, 2023 · Fundamentals

Comprehensive Python Snippets: JSON Conversion, Date/Time Formatting, File I/O, QR & Barcode Generation, List & JSON Comparison, Class Reflection, and File Size Management

This article presents a collection of Python code examples covering JSON serialization, date‑time formatting, file reading, QR‑code and barcode creation, list and JSON comparison, class method reflection, and automatic file‑size‑based cleanup, providing practical guidance for everyday scripting tasks.

Data ConversionFile I/OPython
0 likes · 14 min read
Comprehensive Python Snippets: JSON Conversion, Date/Time Formatting, File I/O, QR & Barcode Generation, List & JSON Comparison, Class Reflection, and File Size Management
Programmer DD
Programmer DD
May 12, 2023 · Artificial Intelligence

Integrate ChatGPT & Stable Diffusion into Your WeChat App in 1 Minute

This tutorial shows how to quickly integrate ChatGPT and Stable Diffusion AIGC models into a WeChat public account or mini‑program using the AIGCaaS platform, covering registration, API Explorer usage, code customization, asynchronous handling, and deployment with Python Flask.

AIGCChatGPTFlask
0 likes · 13 min read
Integrate ChatGPT & Stable Diffusion into Your WeChat App in 1 Minute
Python Programming Learning Circle
Python Programming Learning Circle
May 9, 2023 · Fundamentals

Python Automation Scripts: URL Shortener, Fake Data Generator, YouTube Downloader, NATO Encoder, and Selenium Login

This article showcases Python's concise syntax and powerful libraries by comparing a simple web request with JavaScript and providing five practical automation scripts—including a URL shortener, fake data generator, YouTube downloader, NATO alphabet encoder, and Selenium-based social‑media login—demonstrating why Python is ideal for repetitive tasks.

Data GenerationFakerPython
0 likes · 7 min read
Python Automation Scripts: URL Shortener, Fake Data Generator, YouTube Downloader, NATO Encoder, and Selenium Login
IT Services Circle
IT Services Circle
May 8, 2023 · Artificial Intelligence

Mojo: A New High‑Performance Programming Language Bridging Python Ease and C‑Level Speed for AI

Mojo, the new programming language announced by Chris Lattner’s Modular AI, combines Python’s usability with C‑level performance, offering seamless interoperability, extensive compiler optimizations, and scalability for AI workloads, positioning itself as a potential breakthrough in machine‑learning infrastructure and development.

AICompilerMojo
0 likes · 8 min read
Mojo: A New High‑Performance Programming Language Bridging Python Ease and C‑Level Speed for AI
21CTO
21CTO
May 7, 2023 · Artificial Intelligence

Can Mojo Make Python 35,000× Faster? Inside the New AI‑Focused Language

Modular's new Mojo language blends Python's ease of use with C‑level performance, leveraging MLIR and hardware acceleration to claim up to 35,000‑fold speed gains, while offering system‑programming features, zero‑cost abstractions, and a path toward a Python superset for AI development.

AICompilerMojo
0 likes · 6 min read
Can Mojo Make Python 35,000× Faster? Inside the New AI‑Focused Language
Python Programming Learning Circle
Python Programming Learning Circle
May 4, 2023 · Big Data

Advanced Pandas Data Manipulation Techniques

This article provides a comprehensive guide to using Pandas for complex queries, data type conversion, sorting, adding and modifying data, advanced filtering, iteration, and functional operations, offering numerous code examples that illustrate how to efficiently clean, transform, and analyze tabular data in Python.

PythonSortingaggregation
0 likes · 14 min read
Advanced Pandas Data Manipulation Techniques
Python Programming Learning Circle
Python Programming Learning Circle
May 3, 2023 · Fundamentals

11 Pythonic Tricks to Boost Your Python Skills

This article introduces eleven practical Pythonic techniques—including destructuring assignment, zip aggregation, lambda usage, underscore placeholders, list comprehensions, dummy functions, regex handling, map/reduce, whitespace trimming, shallow copying, and interpreter shortcuts—each illustrated with clear code examples to help developers write more elegant and efficient Python code.

PythonTipscode
0 likes · 7 min read
11 Pythonic Tricks to Boost Your Python Skills
IT Services Circle
IT Services Circle
Apr 25, 2023 · Information Security

WeChat Crash via Malformed QR Code: Technical Analysis and Reproduction

Researchers discovered that a specially crafted QR code triggers a memory leak in WeChat’s OCR engine, causing the app to crash on both mobile and desktop platforms; the article explains the underlying bug, provides detailed decoding analysis, and shares Python code to reproduce the malformed QR code.

OpenCVPythonQR code
0 likes · 8 min read
WeChat Crash via Malformed QR Code: Technical Analysis and Reproduction
Programmer DD
Programmer DD
Apr 25, 2023 · Artificial Intelligence

Why a Single QR Code Crashes WeChat: Inside the Memory Leak Bug

An unusual QR code triggers a memory‑leak in WeChat’s OCR engine, causing the app to crash on both mobile and desktop; the article explains the underlying null‑pointer exception, shows how the malformed “abnormal QR code” corrupts libqbar.so, and provides Python code to reproduce the bug using OpenCV’s open‑source QR engine.

CrashMemory LeakOpenCV
0 likes · 9 min read
Why a Single QR Code Crashes WeChat: Inside the Memory Leak Bug
Python Programming Learning Circle
Python Programming Learning Circle
Apr 23, 2023 · Big Data

Parallel Processing of Large CSV Files in Python with multiprocessing, joblib, and tqdm

This tutorial demonstrates how to accelerate processing of a 2.8‑million‑row CSV dataset by using Python's multiprocessing, joblib, and tqdm libraries, covering serial, parallel, and batch processing techniques, performance measurements, and best‑practice code examples for efficient large‑scale data handling.

Big DataData engineeringPython
0 likes · 9 min read
Parallel Processing of Large CSV Files in Python with multiprocessing, joblib, and tqdm
Top Architect
Top Architect
Apr 21, 2023 · Artificial Intelligence

Fine‑Tuning LLaMA‑7B with Alpaca‑LoRA to Build a Chinese ChatGPT

This article explains why and how to fine‑tune the LLaMA‑7B model using the cheap Alpaca‑LoRA approach, covering hardware requirements, dataset preparation, LoRA training, optional model merging and quantization, and provides ready‑to‑run code snippets for single‑ and multi‑GPU setups.

Alpaca-LoRAGPULLM
0 likes · 10 min read
Fine‑Tuning LLaMA‑7B with Alpaca‑LoRA to Build a Chinese ChatGPT
Continuous Delivery 2.0
Continuous Delivery 2.0
Apr 20, 2023 · Artificial Intelligence

AutoGPT: Autonomous AI Tool Overview, Demonstrations, and Setup Guide

AutoGPT, the latest autonomous AI system, can independently browse the web, use third‑party tools, and execute tasks without human intervention, exemplified by building a React website in minutes, and this article explains its principles, showcases demos, and provides step‑by‑step installation instructions.

AI toolsAgentGPTAutoGPT
0 likes · 10 min read
AutoGPT: Autonomous AI Tool Overview, Demonstrations, and Setup Guide
Python Programming Learning Circle
Python Programming Learning Circle
Apr 19, 2023 · Fundamentals

Hidden Python Tricks: Ternary Operator, enumerate, zip, List Comprehensions, Lambdas, Generators, Decorators and More

This article introduces a collection of lesser‑known Python techniques—including the ternary operator, enumerate, zip, list comprehensions, lambda functions, any/all, itertools, generators, decorators, dynamic imports, dictionary comprehensions, and mutable data structures—each explained with clear examples to help developers write more concise and efficient code.

Code ExamplesGeneratorsPython
0 likes · 10 min read
Hidden Python Tricks: Ternary Operator, enumerate, zip, List Comprehensions, Lambdas, Generators, Decorators and More
MaGe Linux Operations
MaGe Linux Operations
Apr 14, 2023 · Fundamentals

10 Essential pip Tricks Every Python Developer Should Know

This guide presents ten practical pip techniques—from installing and upgrading pip itself to batch installing, freezing dependencies, checking compatibility, and downloading packages—empowering Python developers to manage third‑party libraries more efficiently and avoid technical debt.

PythonTutorialcommand-line
0 likes · 9 min read
10 Essential pip Tricks Every Python Developer Should Know
Python Programming Learning Circle
Python Programming Learning Circle
Apr 10, 2023 · Fundamentals

Common Python Design Questions and Explanations

This article explains why Python uses indentation for block grouping, how floating‑point arithmetic works, why strings are immutable, the purpose of the explicit self parameter, the absence of assignment in expressions, and many other design decisions that shape Python's syntax and runtime behavior.

Data StructuresFAQLanguage Design
0 likes · 27 min read
Common Python Design Questions and Explanations
FunTester
FunTester
Apr 10, 2023 · Industry Insights

How to Map China’s Qingming Rainfall Using Free Weather APIs and Python

This guide shows how to collect nationwide weather data for the Qingming Festival via the free QWeather API, process it with Python to generate a CSV file, and visualize the rainfall distribution across China using a desktop data‑visualization tool.

CSVData visualizationPython
0 likes · 6 min read
How to Map China’s Qingming Rainfall Using Free Weather APIs and Python
FunTester
FunTester
Apr 8, 2023 · Backend Development

Master JSON Extraction in Python with JsonPath: A Practical Guide

This tutorial shows how to install the JsonPath library, retrieve JSON data from an API, and use both traditional indexing and powerful JsonPath expressions—including filters, wildcards, and slicing—to efficiently extract nested values for automated testing.

API testingJSON extractionJsonPath
0 likes · 7 min read
Master JSON Extraction in Python with JsonPath: A Practical Guide
Python Programming Learning Circle
Python Programming Learning Circle
Apr 8, 2023 · Operations

Using Python for Operations Automation: Remote Execution, Log Parsing, Monitoring, Deployment, and Backup

The article explains how operations engineers can leverage Python scripts and popular libraries such as paramiko, regex, psutil, fabric, and shutil to automate common tasks like remote command execution, log analysis, system monitoring with alerts, batch software deployment, and file backup and recovery, providing code examples for each scenario.

DevOpsOperationsPython
0 likes · 9 min read
Using Python for Operations Automation: Remote Execution, Log Parsing, Monitoring, Deployment, and Backup
360 Quality & Efficiency
360 Quality & Efficiency
Apr 7, 2023 · Backend Development

RabbitMQ Introduction: Installation, Basic and Advanced Producer/Consumer Patterns, Exchanges, and Common Issues

This guide introduces RabbitMQ, explains how to install it with Docker, covers basic and advanced producer/consumer usage including acknowledgments, durability, QoS, bindings, and exchange types, and discusses a typical Python reconnection problem, providing a practical overview for backend developers.

DockerExchangeMessage queue
0 likes · 5 min read
RabbitMQ Introduction: Installation, Basic and Advanced Producer/Consumer Patterns, Exchanges, and Common Issues
360 Quality & Efficiency
360 Quality & Efficiency
Apr 7, 2023 · Mobile Development

Mobile App UI Automation Using ATX and Python: POM, Data‑Driven and Keyword‑Driven Approaches

This article describes how a mobile development team adopted the ATX automation framework with Python, employing Page Object Model, data‑driven and keyword‑driven techniques to replace manual regression testing, integrate firmware interaction, and streamline test execution and reporting.

ATXData‑Driven TestingKeyword‑Driven Testing
0 likes · 7 min read
Mobile App UI Automation Using ATX and Python: POM, Data‑Driven and Keyword‑Driven Approaches
Tencent Cloud Developer
Tencent Cloud Developer
Apr 4, 2023 · Artificial Intelligence

Step-by-Step Guide to Building Your Own Realistic AI Image Generation Website with Stable Diffusion

This step‑by‑step tutorial shows how to set up a Stable Diffusion web UI, install the required Python environment and GPU‑enabled PyTorch, add Chinese localization and optional LoRA or Deforum extensions, generate realistic human images, create animated videos, and add speech with D‑ID, all ready for deployment on your own AI website.

DeforumPythonStable Diffusion
0 likes · 9 min read
Step-by-Step Guide to Building Your Own Realistic AI Image Generation Website with Stable Diffusion
NetEase LeiHuo UX Big Data Technology
NetEase LeiHuo UX Big Data Technology
Apr 3, 2023 · Artificial Intelligence

Understanding Causal Inference and How to Use the DoWhy Library

This article explains why causal inference is essential for moving beyond correlation to decision‑making, introduces the structural causal model framework, and provides a step‑by‑step guide to using Microsoft’s DoWhy Python library for modeling, identification, estimation, and counterfactual analysis.

Artificial IntelligenceDoWhyPython
0 likes · 7 min read
Understanding Causal Inference and How to Use the DoWhy Library
Python Programming Learning Circle
Python Programming Learning Circle
Apr 3, 2023 · Fundamentals

20 Essential Python Tricks for Improving Code Readability and Efficiency

This article presents twenty practical Python techniques—including string reversal, title casing, unique element extraction, list multiplication, dictionary merging, and performance timing—that enhance code readability, simplify common tasks, and boost development efficiency for programmers seeking to write cleaner, more effective Python scripts.

Pythoncodeprogramming
0 likes · 9 min read
20 Essential Python Tricks for Improving Code Readability and Efficiency
21CTO
21CTO
Apr 2, 2023 · Backend Development

How Codon Turbocharges Python: A Compiler That Rivals C++

Codon, a new Python compiler introduced by IEEE Spectrum, uses static type checking to eliminate runtime overhead, delivering C++‑level performance—10 to 100 times faster than CPython—while targeting genomics, big‑data, and other compute‑intensive domains, though it sacrifices some dynamic Python features.

CodonInstallationPython
0 likes · 7 min read
How Codon Turbocharges Python: A Compiler That Rivals C++
Python Programming Learning Circle
Python Programming Learning Circle
Apr 1, 2023 · Fundamentals

JupyterLab Visual Debugger and xeus‑python Kernel: Installation, Features, and Front‑End Architecture

The article introduces JupyterLab’s new visual debugger, explains why debugging is needed in Jupyter, provides installation commands for the front‑end extension and xeus‑python kernel, describes the debugger’s UI components and capabilities, and compares it with a VS Code visual debugging tool.

DebuggingIDEJupyterLab
0 likes · 6 min read
JupyterLab Visual Debugger and xeus‑python Kernel: Installation, Features, and Front‑End Architecture
Python Crawling & Data Mining
Python Crawling & Data Mining
Apr 1, 2023 · Backend Development

How to Fix Chinese Garbled Text in Python Web Scraping

This article explains three practical methods—using response.content, apparent_encoding, and custom encode/decode—to resolve Chinese character garbling in Python web crawlers, includes code snippets and screenshots, and offers concise guidance for developers facing this common issue.

ChineseEncodingPython
0 likes · 5 min read
How to Fix Chinese Garbled Text in Python Web Scraping
Python Programming Learning Circle
Python Programming Learning Circle
Mar 31, 2023 · Fundamentals

Python Programming Exercises: Narcissistic Numbers, Algorithms, and Common Coding Problems

This article presents a series of Python programming exercises covering topics such as Narcissistic numbers, four‑digit Armstrong numbers, string reversal, number guessing games, classic algorithms like bubble sort, binary search, recursion, palindrome detection, and many other fundamental coding challenges with complete code examples.

Programming ExercisesPythonfundamentals
0 likes · 33 min read
Python Programming Exercises: Narcissistic Numbers, Algorithms, and Common Coding Problems
Open Source Linux
Open Source Linux
Mar 31, 2023 · Operations

Boost Your Ops Efficiency: 5 Python Scripts Every Engineer Should Know

This article explains how Python can automate common operations tasks—remote command execution, log parsing, system monitoring with alerts, batch software deployment, and backup/recovery—providing code examples and practical tips to improve efficiency and reduce manual errors.

PythonScriptingautomation
0 likes · 9 min read
Boost Your Ops Efficiency: 5 Python Scripts Every Engineer Should Know
DataFunSummit
DataFunSummit
Mar 30, 2023 · Artificial Intelligence

An Overview of ChatGPT’s Software Architecture and Technology Stack

The article examines ChatGPT’s underlying software architecture, detailing its cloud deployment on AWS and Azure, database choices like PostgreSQL and Redis, front‑end technologies such as TypeScript and React, core AI frameworks including PyTorch and Triton, as well as its container orchestration, monitoring, and programming language ecosystem.

AI architectureChatGPTDatabases
0 likes · 6 min read
An Overview of ChatGPT’s Software Architecture and Technology Stack
21CTO
21CTO
Mar 28, 2023 · Backend Development

Top 5 Python Test Automation Frameworks Compared: Pros, Cons & Best Use Cases

This article evaluates the five leading Python test automation frameworks—Robot Framework, Pytest, unittest (PyUnit), Behave, and Lettuce—detailing their installation requirements, key features, advantages, disadvantages, and suitability for functional, unit, or behavior‑driven testing to help developers choose the right tool.

LettucePythonbehave
0 likes · 12 min read
Top 5 Python Test Automation Frameworks Compared: Pros, Cons & Best Use Cases
Python Programming Learning Circle
Python Programming Learning Circle
Mar 28, 2023 · Fundamentals

10 Useful Python Automation Scripts for Everyday Tasks

This article presents ten practical Python automation scripts covering image and video processing, PDF conversion, API interaction, system notifications, grammar and spell correction, downloading, news fetching, and GUI creation, each accompanied by concise code examples for quick implementation.

APIGUIImageProcessing
0 likes · 12 min read
10 Useful Python Automation Scripts for Everyday Tasks
IT Services Circle
IT Services Circle
Mar 26, 2023 · Fundamentals

Common Regular Expression Metacharacters and Their Usage in Python

This article explains the most frequently used regular expression symbols in Python, covering ordinary metacharacters, the OR operator, escape sequences, anchors, quantifiers, grouping, and shorthand character classes, each illustrated with clear code examples and explanations.

Pythonmetacharacterspattern matching
0 likes · 6 min read
Common Regular Expression Metacharacters and Their Usage in Python
Model Perspective
Model Perspective
Mar 22, 2023 · Artificial Intelligence

Master DBSCAN Clustering: Theory, Python Code, and Real-World Examples

DBSCAN is a density‑based clustering algorithm that automatically discovers arbitrarily shaped clusters and isolates noise, with detailed explanations of core, border, and noise points, step‑by‑step examples, Python implementations using scikit‑learn, and guidance on key parameters such as eps and min_samples.

DBSCANPythonclustering
0 likes · 10 min read
Master DBSCAN Clustering: Theory, Python Code, and Real-World Examples
Python Programming Learning Circle
Python Programming Learning Circle
Mar 22, 2023 · Fundamentals

Comparing Distributions Between Groups: Visualization and Statistical Methods in Python

This article demonstrates how to compare the distribution of a variable across control and treatment groups using Python, covering data generation, visual techniques such as boxplots, histograms, KDE, CDF, QQ and ridgeline plots, and a suite of statistical tests including t‑test, SMD, Mann‑Whitney, permutation, chi‑square, Kolmogorov‑Smirnov and ANOVA for both two‑group and multi‑group scenarios.

A/B testingPythonStatistical Tests
0 likes · 21 min read
Comparing Distributions Between Groups: Visualization and Statistical Methods in Python
Model Perspective
Model Perspective
Mar 21, 2023 · Artificial Intelligence

Master Linear Discriminant Analysis (LDA) with Python: Theory & Code

This article explains Linear Discriminant Analysis (LDA) as a pattern‑recognition technique that projects data onto a low‑dimensional space to maximize class separation, details its mathematical formulation with between‑class and within‑class scatter matrices, and provides a complete Python implementation using scikit‑learn on the Iris dataset, including visualization of the results.

LDALinear Discriminant AnalysisPython
0 likes · 6 min read
Master Linear Discriminant Analysis (LDA) with Python: Theory & Code
Python Programming Learning Circle
Python Programming Learning Circle
Mar 21, 2023 · Artificial Intelligence

A Survey of 10 Python Libraries for Explainable AI (XAI)

This article introduces Explainable AI (XAI), outlines its importance, describes a step-by-step workflow, and reviews ten Python libraries—including SHAP, LIME, ELI5, Shapash, Anchors, BreakDown, Interpret‑Text, AI Explainability 360, OmniXAI, and XAI—providing usage examples and code snippets.

Pythonexplainable AImachine learning
0 likes · 12 min read
A Survey of 10 Python Libraries for Explainable AI (XAI)
Model Perspective
Model Perspective
Mar 20, 2023 · Artificial Intelligence

Master Feature Selection with Recursive Elimination (RFE) in Python

Feature Recursive Elimination (RFE) is a powerful feature‑selection technique that iteratively trains a model, discards the weakest features, and repeats until a desired number of features remains, helping prevent overfitting and improve model performance, illustrated with a complete Python example using scikit‑learn.

Pythonfeature selectionrecursive elimination
0 likes · 6 min read
Master Feature Selection with Recursive Elimination (RFE) in Python
Python Programming Learning Circle
Python Programming Learning Circle
Mar 16, 2023 · Fundamentals

13 Amazing Python Features You Might Not Know

This article introduces thirteen lesser‑known Python features—including list stepping, the find method, iterators, doctest, yield statements, dictionary get, for/else and while/else loops, named string formatting, recursion limits, conditional expressions, argument unpacking, the special __hello__ import, and multiline strings—each illustrated with clear code examples.

Advanced FeaturesCode ExamplesPython
0 likes · 8 min read
13 Amazing Python Features You Might Not Know
Python Programming Learning Circle
Python Programming Learning Circle
Mar 15, 2023 · Game Development

Creating a Code Rain Effect with Python and Pygame

This tutorial demonstrates how to build a classic "code rain" screen using Python's pygame library, guiding readers through imports, window setup, character rendering, and a concise main loop that produces the animated effect in roughly thirty lines of code.

Code RainGame DevelopmentGraphics
0 likes · 6 min read
Creating a Code Rain Effect with Python and Pygame
DataFunTalk
DataFunTalk
Mar 15, 2023 · Artificial Intelligence

Predicting Sunspot Activity with CnosDB and a TensorFlow 1DConv‑LSTM Model

This article demonstrates how to store monthly sunspot numbers in the CnosDB time‑series database and use TensorFlow to build a 1DConv‑LSTM neural network for forecasting sunspot activity, covering data import, database insertion, train‑test splitting, model definition, training, and result visualization.

1DConv LSTMCnosDBPython
0 likes · 11 min read
Predicting Sunspot Activity with CnosDB and a TensorFlow 1DConv‑LSTM Model
Model Perspective
Model Perspective
Mar 14, 2023 · Operations

How Data Envelopment Analysis (DEA) Optimizes Airline Efficiency with Python

Data Envelopment Analysis (DEA) is a non‑parametric technique for evaluating relative efficiency of decision‑making units, with CRS and VRS models explained, followed by a Python implementation using PuLP to assess airline route efficiency and interpret overall, technical, and scale efficiencies.

CRSDEAData Envelopment Analysis
0 likes · 15 min read
How Data Envelopment Analysis (DEA) Optimizes Airline Efficiency with Python
Python Programming Learning Circle
Python Programming Learning Circle
Mar 14, 2023 · Fundamentals

Essential Python Tips and Tricks from A to Z

An extensive collection of Python programming tips and tricks, ranging from built‑in functions like all/any and collections to advanced features such as type hints, virtual environments, and third‑party libraries, presented alphabetically to help developers quickly enhance their code efficiency and readability.

Pythonprogramming
0 likes · 16 min read
Essential Python Tips and Tricks from A to Z
Model Perspective
Model Perspective
Mar 13, 2023 · Fundamentals

Mastering TOPSIS: Step-by-Step Guide with Python Implementation

This article explains the TOPSIS multi‑criteria decision‑making technique, outlines its mathematical formulation, walks through the seven procedural steps, and demonstrates a complete Python example that normalizes data, computes distances, scores alternatives, and ranks the best solution.

PythonTOPSISnormalization
0 likes · 8 min read
Mastering TOPSIS: Step-by-Step Guide with Python Implementation
58UXD
58UXD
Mar 13, 2023 · Fundamentals

Automating 3D Scene Creation in Cinema 4D with Python: From CAD to VR

Learn how to automate the construction of detailed 3D scenes in Cinema 4D using Python, by importing CAD layers, generating walls, doors, windows, furniture, lighting, and cameras, enabling efficient VR visualizations for interior design projects.

3D AutomationCADCinema4D
0 likes · 10 min read
Automating 3D Scene Creation in Cinema 4D with Python: From CAD to VR