Tagged articles

Python

5000 articles · Page 22 of 50
Test Development Learning Exchange
Test Development Learning Exchange
Jun 7, 2024 · Fundamentals

Understanding argparse in Python

argparse is a standard Python library for creating user-friendly command-line interfaces, allowing you to define parameters and options, generate help messages, and parse input with error handling.

Pythonargparsecommand-line
0 likes · 5 min read
Understanding argparse in Python
JD Tech
JD Tech
Jun 7, 2024 · Artificial Intelligence

Automated Test Case Generation Using LangChain, Vector Databases, and Large Language Models

This article presents a practical approach to automatically generate software test cases by leveraging LangChain, PDF parsing, vector‑database retrieval, and large language models, comparing it with existing tools, detailing implementation steps, code examples, experimental results, and future improvement directions.

LLMLangChainPDF parsing
0 likes · 14 min read
Automated Test Case Generation Using LangChain, Vector Databases, and Large Language Models
Test Development Learning Exchange
Test Development Learning Exchange
Jun 6, 2024 · Backend Development

Applying Python Metaclasses for Dynamic API Enhancements

This article demonstrates how Python metaclasses can be leveraged to automatically add authentication headers, manage configuration, log requests, handle exceptions, generate test cases, switch environments, validate parameters, control API versioning, register response validators, and inject dependencies, streamlining backend development.

APIDesign PatternsPython
0 likes · 10 min read
Applying Python Metaclasses for Dynamic API Enhancements
Sohu Tech Products
Sohu Tech Products
Jun 5, 2024 · Artificial Intelligence

How Treelite Supercharges Tree Model Inference by Up to 6×

This article introduces Treelite, an open‑source library that compiles XGBoost, LightGBM, and scikit‑learn tree models into optimized shared libraries, explains its branch‑prediction and comparison‑simplification techniques, and provides step‑by‑step Python examples showing significant inference speed gains across different batch sizes.

LightGBMPythonTreelite
0 likes · 6 min read
How Treelite Supercharges Tree Model Inference by Up to 6×
JavaEdge
JavaEdge
Jun 5, 2024 · Artificial Intelligence

Step‑by‑Step Guide to Building a Name‑Generator with LangChain and OpenAI

This tutorial walks through installing LangChain, creating an LLM with either self‑hosted or third‑party models, designing custom prompt templates, configuring output parsers for structured results, and running a complete Python example that generates culturally specific names using OpenAI's API.

LLMLangChainOpenAI
0 likes · 8 min read
Step‑by‑Step Guide to Building a Name‑Generator with LangChain and OpenAI
JD Retail Technology
JD Retail Technology
Jun 4, 2024 · Databases

How to Deploy and Query JD’s Open‑Source Vearch Vector Database for LLM Retrieval

This article walks through the practical use of JD’s self‑developed Vearch vector database—covering cluster creation, space setup, data insertion, and both text and vector search—illustrating how it integrates with LangChain and OpenAI embeddings to enable retrieval‑augmented generation for large language models.

EmbeddingLLM RetrievalLangChain
0 likes · 16 min read
How to Deploy and Query JD’s Open‑Source Vearch Vector Database for LLM Retrieval
Test Development Learning Exchange
Test Development Learning Exchange
Jun 4, 2024 · Operations

HR Process Automation Scripts: Resume Parsing, Interview Emails, Pay‑Slip Generation, and Data Analysis

This article presents a collection of Python scripts that automate key HR tasks—including resume parsing, interview invitation emailing, pay‑slip creation, hiring‑channel analysis, turnover calculation, satisfaction survey reporting, salary competitiveness comparison, employee data updates, Word document generation, and leave‑request handling—complete with ready‑to‑run code examples.

EmailHRPython
0 likes · 10 min read
HR Process Automation Scripts: Resume Parsing, Interview Emails, Pay‑Slip Generation, and Data Analysis
Baidu Geek Talk
Baidu Geek Talk
Jun 3, 2024 · Artificial Intelligence

How an AI Code Assistant Cut Medical Imaging Data Processing Time by 9×

A graduate student and his lab used Baidu Comate, an AI‑powered coding assistant, to automate repetitive Python scripts for converting 150 GB of DICOM images to PNG, reducing a week‑long, three‑person effort to two days for a single developer and boosting overall team efficiency.

AIAI code assistantBaidu Comate
0 likes · 8 min read
How an AI Code Assistant Cut Medical Imaging Data Processing Time by 9×
Python Programming Learning Circle
Python Programming Learning Circle
Jun 3, 2024 · Operations

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

This article demonstrates how Python can automate common operations tasks such as remote command execution, log file parsing, system monitoring with alerts, batch software deployment, and file backup and recovery, providing code examples using libraries like paramiko, regex, psutil, fabric, and shutil.

DevOpsPythonScripting
0 likes · 5 min read
Using Python for Operations Automation: Remote Execution, Log Parsing, Monitoring, Deployment, and Backup
Test Development Learning Exchange
Test Development Learning Exchange
Jun 3, 2024 · Fundamentals

Using Argument Unpacking in Python for API Testing and Automation

This article explains Python's argument unpacking feature and demonstrates ten practical examples—including batch API calls, request handling, test data validation, configuration management, user creation, parameterized tests, logging, database updates, dynamic query building, and environment switching—to streamline automation testing.

APIPythonargument-unpacking
0 likes · 6 min read
Using Argument Unpacking in Python for API Testing and Automation
Python Programming Learning Circle
Python Programming Learning Circle
Jun 1, 2024 · Fundamentals

Comprehensive List of Essential Python Libraries Across Various Domains

This article presents an extensive, categorized catalog of Python libraries covering environments, package management, web frameworks, databases, data processing, machine learning, testing, DevOps, and many other domains, offering developers a convenient reference to discover and adopt the most popular tools for their projects.

LibrariesPythonResources
0 likes · 47 min read
Comprehensive List of Essential Python Libraries Across Various Domains
JD Tech
JD Tech
May 31, 2024 · Artificial Intelligence

Understanding Large Language Models, Retrieval‑Augmented Generation, and AI Agents: Concepts, Engineering Practices, and Applications

This article explains the fundamentals and engineering practices of large language models (LLM), retrieval‑augmented generation (RAG) and AI agents, compares small and large embedding models, provides Python code for vector‑database RAG with Chroma, and discusses integration, use cases, and future challenges in AI development.

AI agentsAI engineeringLLM
0 likes · 41 min read
Understanding Large Language Models, Retrieval‑Augmented Generation, and AI Agents: Concepts, Engineering Practices, and Applications
Python Programming Learning Circle
Python Programming Learning Circle
May 30, 2024 · Fundamentals

A Collection of Python Automation Scripts for Media Downloading, Email Alerts, Face Recognition, and More

The article showcases a variety of Python scripts that automate tasks such as subtitle and video downloading, IMDb data extraction, email notifications, PNR status checks, WhatsApp avatar monitoring, face recognition for photo sorting, and a custom DC++ sharing tool, providing code examples and usage details for each utility.

Email NotificationFile DownloaderPython
0 likes · 20 min read
A Collection of Python Automation Scripts for Media Downloading, Email Alerts, Face Recognition, and More
Python Programming Learning Circle
Python Programming Learning Circle
May 29, 2024 · Game Development

Python Implementation of the Zha Jin Hua Card Game

This article demonstrates how to create a Python program that simulates the Chinese card game Zha Jin Hua, covering deck preparation, player handling, card dealing, hand evaluation, scoring rules, and statistical analysis of game outcomes, with complete source code and example results.

AlgorithmPythonZha Jin Hua
0 likes · 12 min read
Python Implementation of the Zha Jin Hua Card Game
Model Perspective
Model Perspective
May 29, 2024 · Artificial Intelligence

How to Build Word Vectors from Scratch: A Step‑by‑Step Guide

This article explains the fundamentals of word vectors in NLP, walks through constructing them via co‑occurrence matrices and dimensionality reduction, demonstrates the process with a concrete example and Python code, and evaluates the resulting embeddings using cosine similarity.

PythonSVDdimensionality reduction
0 likes · 7 min read
How to Build Word Vectors from Scratch: A Step‑by‑Step Guide
DevOps Engineer
DevOps Engineer
May 29, 2024 · Cloud Computing

Overview of the Python Software Foundation (PSF) Infrastructure

The article provides a comprehensive overview of the Python Software Foundation's infrastructure, detailing its team, cloud providers, data centers, and the hosting arrangements for numerous services such as PyPI, docs, bug trackers, and the main Python website.

Cloud ServicesPythoninfrastructure
0 likes · 9 min read
Overview of the Python Software Foundation (PSF) Infrastructure
JD Retail Technology
JD Retail Technology
May 27, 2024 · Artificial Intelligence

Automating Test Case Generation with Large Language Models and LangChain

This article describes how large language models and the LangChain framework can be combined with PDF parsing, text chunking, memory management, and a vector database to automatically generate software test cases, achieving significant efficiency gains while outlining implementation details, results, and future challenges.

AILangChainLarge Language Model
0 likes · 10 min read
Automating Test Case Generation with Large Language Models and LangChain
Test Development Learning Exchange
Test Development Learning Exchange
May 25, 2024 · Fundamentals

Understanding Python Decorators: Concepts and Practical Examples

Python decorators are powerful constructs that let you augment functions without altering their definitions, and this guide explains their underlying principle, provides a basic template, and demonstrates ten practical decorator implementations—including timing, logging, access control, caching, singleton, retry, async, and property restrictions.

ProgrammingPython
0 likes · 8 min read
Understanding Python Decorators: Concepts and Practical Examples
Python Programming Learning Circle
Python Programming Learning Circle
May 23, 2024 · Artificial Intelligence

Comprehensive Collection of Aggregation Functions for Feature Engineering in Python

This article presents a detailed compilation of pandas built‑in aggregation methods and a wide range of custom Python functions for time‑series feature engineering, providing ready‑to‑use code snippets that cover statistical descriptors, drawdown metrics, peak detection, and more for data science practitioners.

AggregationFeature EngineeringPandas
0 likes · 17 min read
Comprehensive Collection of Aggregation Functions for Feature Engineering in Python
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 23, 2024 · Artificial Intelligence

Building a Multi‑Agent Bookmark Assistant Bot with Coze: From File Upload to AI‑Powered Search

This tutorial walks through creating a Coze bot that uses multi‑agent orchestration, memory variables, triggers, and large‑language‑model integration to upload bookmark files, extract and clean data, classify sites, generate importable HTML bookmarks, and provide AI‑driven search functionality, complete with Python code examples and deployment tips.

AI agentsBookmark ManagementBot Development
0 likes · 24 min read
Building a Multi‑Agent Bookmark Assistant Bot with Coze: From File Upload to AI‑Powered Search
Test Development Learning Exchange
Test Development Learning Exchange
May 22, 2024 · Backend Development

Python ReportLab PDF Generation Tutorial

This article provides a comprehensive guide to generating PDF documents using Python's ReportLab library, covering text reports, tables, images, multi-column layouts, headers/footers, dynamic chapters, styling, lists, long tables, and watermarks.

Document AutomationPythonReportLab
0 likes · 6 min read
Python ReportLab PDF Generation Tutorial
Python Programming Learning Circle
Python Programming Learning Circle
May 21, 2024 · Fundamentals

A Comprehensive Overview of Python Version, Environment, and Package Management Tools

This article provides a detailed classification and comparison of essential Python tooling—including version managers, virtual environment managers, package managers, and build/publish utilities—explaining their motivations, core commands, and feature support such as dependency locking, PEP 660, and PEP 621.

PythonVirtual Environmentspackage management
0 likes · 19 min read
A Comprehensive Overview of Python Version, Environment, and Package Management Tools
Test Development Learning Exchange
Test Development Learning Exchange
May 20, 2024 · Fundamentals

Understanding Python List Indexing and Slicing

This article explains Python's list data structure, covering forward and negative indexing as well as slice operations, and provides multiple code examples demonstrating element access, sub‑list extraction, list copying, reversal, and stepwise selection.

IndexingListPython
0 likes · 4 min read
Understanding Python List Indexing and Slicing
Python Programming Learning Circle
Python Programming Learning Circle
May 20, 2024 · Fundamentals

30 Common Python Code Examples

This article presents a curated collection of 30 practical Python code snippets, ranging from basic algorithms like bubble sort and factorial calculation to file system operations, string manipulations, and utility functions such as generating calendars and checking leap years.

Programming BasicsPythonalgorithms
0 likes · 4 min read
30 Common Python Code Examples
Test Development Learning Exchange
Test Development Learning Exchange
May 20, 2024 · Backend Development

Using HiPlot for Visualizing API Test Results

This article demonstrates how to employ HiPlot in API automated testing to efficiently visualize and analyze large sets of test data, covering single-run results, version comparisons, parameter impact studies, long‑running test sequences, and multi‑environment performance evaluations.

API testingHiPlotPython
0 likes · 5 min read
Using HiPlot for Visualizing API Test Results
Test Development Learning Exchange
Test Development Learning Exchange
May 17, 2024 · Backend Development

Using Python mechanize for Web Automation and Testing

The article introduces the Python mechanize library, explains its capabilities for automating web interactions such as form submission, link navigation, cookie management, and redirects, provides basic usage examples, detailed sample code for various testing scenarios, and notes its limitations compared to Selenium.

HTTPPythonSelenium
0 likes · 8 min read
Using Python mechanize for Web Automation and Testing
Top Architecture Tech Stack
Top Architecture Tech Stack
May 17, 2024 · Fundamentals

Understanding Python's input() Function: Basics, Examples, and Type Conversion

This article introduces Python's input() function, explains its basic syntax and behavior, provides example code for reading strings and converting them to numeric types, and highlights important considerations such as type conversion, input validation, and prompt usage, while also including promotional information for development tools.

ProgrammingPythoncoding
0 likes · 6 min read
Understanding Python's input() Function: Basics, Examples, and Type Conversion
Python Programming Learning Circle
Python Programming Learning Circle
May 14, 2024 · Fundamentals

Essential pip Tips and Tricks for Python Package Management

This article provides a comprehensive guide to using pip, covering installation, upgrading, package installation, batch operations, uninstallation, dependency freezing, information lookup, outdated package checks, compatibility verification, and downloading packages for offline use, all illustrated with practical code examples.

Pythondependencypip
0 likes · 9 min read
Essential pip Tips and Tricks for Python Package Management
Python Programming Learning Circle
Python Programming Learning Circle
May 14, 2024 · Fundamentals

Python Frequently Asked Questions: Indentation, Float Precision, Immutability, and Core Language Design

This article answers twenty‑seven common Python questions covering why indentation is used for block grouping, the reasons behind surprising floating‑point results, the immutability of strings, the explicit use of self, the absence of assignment in expressions, and many other design choices that shape Python’s core behavior.

FAQMemory ManagementProgramming
0 likes · 28 min read
Python Frequently Asked Questions: Indentation, Float Precision, Immutability, and Core Language Design
Python Programming Learning Circle
Python Programming Learning Circle
May 13, 2024 · Backend Development

Django 5.0 Released: New Python Compatibility, Field Groups, and Database‑Computed Fields

Django 5.0 has been officially released, adding support for Python 3.10‑3.12, introducing field‑group templates to simplify form rendering, and providing new database‑computed field features such as Field.db_default and GeneratedField, while also marking the end of mainstream support for Django 4.2 and 4.1.

Backend DevelopmentDatabase Computed FieldsDjango
0 likes · 5 min read
Django 5.0 Released: New Python Compatibility, Field Groups, and Database‑Computed Fields
Aikesheng Open Source Community
Aikesheng Open Source Community
May 13, 2024 · Databases

Profiling Memory Usage in MySQL Queries

This article explains how to use MySQL's performance_schema to monitor and analyze per‑connection memory consumption, provides SQL queries to list memory instruments, shows Python scripts for sampling and visualizing memory usage over time, and demonstrates practical usage with example commands and output.

Performance SchemaPythonmemory profiling
0 likes · 14 min read
Profiling Memory Usage in MySQL Queries
Test Development Learning Exchange
Test Development Learning Exchange
May 11, 2024 · Fundamentals

Understanding Python if...else Statements with Practical Examples

This article explains Python's if...elif...else conditional control structure, presents its basic syntax, and provides a series of clear examples ranging from simple number checks to more complex tasks like recursive Fibonacci, bubble sort, a guessing game, age classification, and bank account balance validation.

Programming BasicsPythonconditional statements
0 likes · 6 min read
Understanding Python if...else Statements with Practical Examples
21CTO
21CTO
May 11, 2024 · Fundamentals

What’s New in Python 3.13? Exploring GIL Removal, JIT, and Rankings

Python 3.13 beta introduces groundbreaking features such as an optional GIL, an experimental JIT compiler, and various module improvements, while the Redmonk ranking confirms Python’s surge to the second most popular language, reflecting its growing role in AI, data science, and modern development.

3.13GILJIT
0 likes · 6 min read
What’s New in Python 3.13? Exploring GIL Removal, JIT, and Rankings
Python Programming Learning Circle
Python Programming Learning Circle
May 11, 2024 · Artificial Intelligence

A Comprehensive Overview of Popular Python Libraries for Artificial Intelligence and Data Science

This article introduces and demonstrates more than twenty widely used Python libraries for artificial intelligence, computer vision, natural language processing, and data analysis, providing concise explanations and runnable code snippets that illustrate each library's core functionality and typical use cases.

Artificial IntelligenceMachine LearningNumPy
0 likes · 29 min read
A Comprehensive Overview of Popular Python Libraries for Artificial Intelligence and Data Science
Test Development Learning Exchange
Test Development Learning Exchange
May 11, 2024 · Fundamentals

Common Operations with Python's os, sys, and datetime Modules

This guide demonstrates how to list directory contents, create and delete folders, manage the current working directory with the os module, retrieve interpreter information, handle command‑line arguments and exit codes using sys, and work with dates and times via the datetime module, providing expected outputs for each operation.

File OperationsPythondatetime module
0 likes · 5 min read
Common Operations with Python's os, sys, and datetime Modules
Python Programming Learning Circle
Python Programming Learning Circle
May 10, 2024 · Artificial Intelligence

Comprehensive Overview of Common Anomaly Detection Methods with Code Examples

This article compiles and explains a variety of common anomaly detection techniques—including distribution‑based, distance‑based, density‑based, clustering, tree‑based, dimensionality‑reduction, classification, and prediction methods—providing algorithm descriptions, workflow steps, advantages, limitations, and ready‑to‑run Python code snippets for each approach.

Anomaly DetectionPythonoutlier detection
0 likes · 23 min read
Comprehensive Overview of Common Anomaly Detection Methods with Code Examples
Python Programming Learning Circle
Python Programming Learning Circle
May 7, 2024 · Backend Development

Comparing Python Project Scaffolding and Build Tools: Cookiecutter, PyScaffold, PyBuilder, and Poetry

This article reviews the lack of a standard Python project structure and compares four popular scaffolding and build tools—Cookiecutter, PyScaffold, PyBuilder, and Poetry—detailing their installation, generated directory layouts, and typical make/ tox/ poetry commands for testing, documentation, and packaging.

Build ToolsPoetryPyBuilder
0 likes · 12 min read
Comparing Python Project Scaffolding and Build Tools: Cookiecutter, PyScaffold, PyBuilder, and Poetry
Python Programming Learning Circle
Python Programming Learning Circle
May 6, 2024 · Fundamentals

20 Essential Python Tips to Improve Code Readability and Efficiency

This article presents twenty practical Python tricks—including string reversal, title casing, unique element extraction, list repetition, list comprehensions, variable swapping, splitting, joining, palindrome checking, frequency counting, anagram detection, exception handling, enumeration, dictionary merging, timing code execution, flattening, sampling, digit conversion, and uniqueness testing—to help developers write clearer, more efficient code.

CodeTipsDataStructuresErrorHandling
0 likes · 9 min read
20 Essential Python Tips to Improve Code Readability and Efficiency
Test Development Learning Exchange
Test Development Learning Exchange
May 6, 2024 · Fundamentals

Chinese Idiom Chain Game Implemented with Python Tkinter

This article presents a Python Tkinter implementation of a Chinese idiom chain game, explaining its educational purpose, core modules, idiom data handling, validation functions, GUI layout, game logic, hint system, and provides the complete source code for learners to run and explore.

Idiom GameProgrammingPython
0 likes · 7 min read
Chinese Idiom Chain Game Implemented with Python Tkinter
Python Programming Learning Circle
Python Programming Learning Circle
May 5, 2024 · Artificial Intelligence

Python Implementation of DBSCAN and KMeans for Point Cloud Clustering and Tracking with Hungarian Matching

This article presents a Python project that reads point‑cloud data from CSV files, applies DBSCAN and KMeans clustering, extracts cluster features, and uses the Hungarian algorithm to match clusters across frames for tracking, complete with full source code and result visualization.

ClusteringDBSCANHungarian algorithm
0 likes · 13 min read
Python Implementation of DBSCAN and KMeans for Point Cloud Clustering and Tracking with Hungarian Matching
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 5, 2024 · Artificial Intelligence

Comprehensive Guide to Neural Network Algorithms: Definitions, Structure, Implementation, and Training

This article provides an in‑depth tutorial on neural network algorithms, covering their biological inspiration, significance, advantages and drawbacks, detailed architecture, data preparation, one‑hot encoding, weight initialization, forward and backward propagation, cost functions, regularization, gradient checking, and complete Python code examples.

AIBackpropagationMachine Learning
0 likes · 37 min read
Comprehensive Guide to Neural Network Algorithms: Definitions, Structure, Implementation, and Training
CSS Magic
CSS Magic
May 4, 2024 · Artificial Intelligence

Missed the ChatGPT Code Interpreter? Three Real Cases Show Its Power

The article explains what the ChatGPT Code Interpreter is, demonstrates three practical use‑cases—document conversion, batch file processing, and fixing math errors—and outlines how to embed it in GPTs while noting its current limitations.

AI ToolsChatGPTCode interpreter
0 likes · 9 min read
Missed the ChatGPT Code Interpreter? Three Real Cases Show Its Power
MaGe Linux Operations
MaGe Linux Operations
May 2, 2024 · Fundamentals

Unlock Python’s Power: Master Multiprocessing for Faster, Scalable Code

This comprehensive guide explains Python’s multiprocessing module, covering process creation, inter‑process communication, pools, synchronization primitives, error handling, and real‑world examples such as web crawlers, data analysis, and game servers, helping developers harness multiple CPU cores to boost performance and avoid GIL limitations.

Code examplesMultiprocessingPython
0 likes · 32 min read
Unlock Python’s Power: Master Multiprocessing for Faster, Scalable Code
Test Development Learning Exchange
Test Development Learning Exchange
May 1, 2024 · Fundamentals

Using Python Generators for Dynamic Test Data Generation

This article explains how Python generators can be leveraged in interface automation testing to dynamically create test data, parameterize URLs, generate test cases, build report entries, tokens, HTTP status codes, query dates, API paths, report headings, and email templates, with complete code examples for each scenario.

ProgrammingPythongenerators
0 likes · 10 min read
Using Python Generators for Dynamic Test Data Generation
Architect
Architect
May 1, 2024 · Fundamentals

Why ULID Beats UUID: A Deep Dive into Features, Specs, and Python Usage

This article compares UUID and ULID, explains the limitations of UUID versions, details ULID's timestamp‑based, lexicographically sortable design, presents its binary layout and encoding, and shows how to generate and manipulate ULIDs in Python with concrete code examples.

PythonULIDUUID
0 likes · 8 min read
Why ULID Beats UUID: A Deep Dive into Features, Specs, and Python Usage
Java Tech Enthusiast
Java Tech Enthusiast
May 1, 2024 · Fundamentals

Zigzag Conversion Algorithm (LeetCode 6)

The Zigzag Conversion algorithm rearranges an input string into a Z‑shaped pattern across a specified number of rows, tracks the current row while toggling direction at the top and bottom, stores characters per row, and finally concatenates the rows to produce the transformed string, with reference implementations in C++, Java, and Python.

AlgorithmC++Java
0 likes · 9 min read
Zigzag Conversion Algorithm (LeetCode 6)
Python Programming Learning Circle
Python Programming Learning Circle
Apr 30, 2024 · Cloud Native

Choosing the Right Docker Base Image for Python Applications: Requirements, Size, and Build‑Time Comparison

This article evaluates several Linux‑based Docker base images for Python applications, outlining stability, security, library availability, and size requirements, then compares Ubuntu, CentOS, Debian, Amazon Linux 2, official Python images and Alpine in terms of image size and build time, concluding with practical recommendations.

AlpineBase ImageBuild Time
0 likes · 17 min read
Choosing the Right Docker Base Image for Python Applications: Requirements, Size, and Build‑Time Comparison
Test Development Learning Exchange
Test Development Learning Exchange
Apr 30, 2024 · Fundamentals

Understanding Python Comprehensions: Lists, Dictionaries, Sets, and Generators with Examples

Python comprehensions provide a concise, powerful way to create new data structures—lists, dictionaries, sets, and generators—from existing iterables, combining loops and conditional logic, and the article explains their syntax, usage, and includes practical code examples for dynamic parameter construction, data analysis, and testing scenarios.

ComprehensionsPythonSet
0 likes · 7 min read
Understanding Python Comprehensions: Lists, Dictionaries, Sets, and Generators with Examples
Python Programming Learning Circle
Python Programming Learning Circle
Apr 28, 2024 · Fundamentals

13 Lesser‑Known Python Tricks for Cleaner and More Efficient Code

This article introduces thirteen lesser‑known Python tricks—including ternary operators, enumerate, zip, list comprehensions, lambda functions, any/all, itertools, generators, decorators, argument unpacking, dynamic imports, dictionary comprehensions, and mutable collections—each explained with concise examples to help developers write cleaner, more efficient code.

AdvancedProgrammingPython
0 likes · 10 min read
13 Lesser‑Known Python Tricks for Cleaner and More Efficient Code
Python Programming Learning Circle
Python Programming Learning Circle
Apr 26, 2024 · Artificial Intelligence

Five Essential Python Libraries for Machine Learning Engineers

This article introduces five essential Python libraries—MLflow, Streamlit, FastAPI, XGBoost, and ELI5—that every junior or intermediate machine‑learning engineer and data scientist should master to streamline experiment tracking, build interactive web apps, deploy models efficiently, achieve fast accurate predictions, and improve model interpretability.

ELI5FastAPIMLflow
0 likes · 8 min read
Five Essential Python Libraries for Machine Learning Engineers