Tagged articles

Python

5000 articles · Page 41 of 50
Python Programming Learning Circle
Python Programming Learning Circle
Jan 8, 2022 · Fundamentals

Python Basics: Number Reversal, Docstrings, Encoding, String Rotation, Progress Bar, File Output, and List Merging

This article presents a series of Python fundamentals tutorials, covering number reversal, adding class docstrings, setting file encoding, rotating strings, implementing a console progress bar, redirecting print output to files, and merging two lists with sorting, each accompanied by concise code examples.

AlgorithmsCodeExamplesPython
0 likes · 6 min read
Python Basics: Number Reversal, Docstrings, Encoding, String Rotation, Progress Bar, File Output, and List Merging
dbaplus Community
dbaplus Community
Jan 8, 2022 · Artificial Intelligence

How Ctrip Streamlined ML Model Development and Deployment with MLOps

This article explains how Ctrip tackled the long, costly ML model development‑to‑deployment pipeline by adopting and extending MLflow for full lifecycle management, covering model persistence, tracking, serving, custom pyfunc models, Dockerized deployment, scaling, and performance monitoring.

DockerFastAPIMLOps
0 likes · 14 min read
How Ctrip Streamlined ML Model Development and Deployment with MLOps
Python Programming Learning Circle
Python Programming Learning Circle
Jan 7, 2022 · Fundamentals

Introduction to Python Decorators: Concepts, Principles, and Practical Examples

Python decorators are a powerful syntactic feature that allow functions, methods, or classes to be wrapped and extended, enabling reusable code for logging, caching, authentication, and more, with detailed explanations of their underlying principles, manual implementations, syntax sugar, and usage with classes and built‑in decorators.

DecoratorFunctionPython
0 likes · 20 min read
Introduction to Python Decorators: Concepts, Principles, and Practical Examples
MaGe Linux Operations
MaGe Linux Operations
Jan 6, 2022 · Fundamentals

Why the Fastest Way to Loop in Python Is Not to Loop at All

This article compares Python's while and for loops, shows benchmark results revealing that for loops run faster due to fewer Python‑level operations, and demonstrates that using built‑in functions like sum or applying a mathematical formula can make looping dramatically faster, often eliminating the loop entirely.

Pythonalgorithm optimizationbenchmark
0 likes · 6 min read
Why the Fastest Way to Loop in Python Is Not to Loop at All
Python Programming Learning Circle
Python Programming Learning Circle
Jan 6, 2022 · Fundamentals

Creating Donut (Ring) Plots with Matplotlib in Python

This tutorial explains how to generate donut (ring) charts using Python's Matplotlib library, covering basic pie‑to‑donut conversion, custom colors, label positioning, background styling, annotation markers, and multi‑level donut visualizations with complete code examples.

Data VisualizationDonut PlotPython
0 likes · 11 min read
Creating Donut (Ring) Plots with Matplotlib in Python
Python Programming Learning Circle
Python Programming Learning Circle
Jan 5, 2022 · Backend Development

Integrating Alipay Payment in Python Projects

This article explains why third‑party payment platforms like Alipay are used, describes Alipay's payment flow, outlines the configuration steps to obtain APPID and keys, and provides a complete Python implementation for integrating Alipay into backend services.

APIAlipayBackend
0 likes · 7 min read
Integrating Alipay Payment in Python Projects
Python Programming Learning Circle
Python Programming Learning Circle
Jan 4, 2022 · Fundamentals

Python Processes, Multiprocessing, Decorators, and List Fundamentals

This article introduces Python process concepts, including process creation with the multiprocessing module, process states, comparison with threads, and practical examples of creating, managing, and communicating with processes, followed by a comprehensive overview of Python list types, their structure, operations, and common usage patterns.

Process ManagementPythonThread Comparison
0 likes · 26 min read
Python Processes, Multiprocessing, Decorators, and List Fundamentals
MaGe Linux Operations
MaGe Linux Operations
Jan 3, 2022 · Backend Development

Build a Simple Arithmetic Interpreter in Python Using PLY

This article walks through creating a Python arithmetic interpreter with the PLY library, covering token definitions, lexer rules, BNF grammar, parser implementation, operator precedence, and a runnable REPL, providing complete code and explanations for each step.

BNFPLYPython
0 likes · 9 min read
Build a Simple Arithmetic Interpreter in Python Using PLY
Python Programming Learning Circle
Python Programming Learning Circle
Jan 3, 2022 · Fundamentals

Python Gotchas, C/C++ Migration Tips, and Handy Utilities

This article presents a collection of Python pitfalls such as random sampling, lambda binding, copying, equality vs identity, and type checks, followed by a concise guide for C/C++ programmers transitioning to Python, and showcases useful tools like CSV handling, itertools, collections, and performance‑debugging techniques.

Code ExamplesPerformancePython
0 likes · 17 min read
Python Gotchas, C/C++ Migration Tips, and Handy Utilities
MaGe Linux Operations
MaGe Linux Operations
Jan 1, 2022 · Backend Development

Mastering Asynchronous Programming: From Sync/Async Basics to I/O Models

This article explains the differences between synchronous and asynchronous execution, explores various I/O programming models—including blocking, non‑blocking, multiplexed, signal‑driven, and asynchronous I/O—and describes how event‑driven architectures apply these concepts in server‑side development.

Asynchronous ProgrammingI/O ModelsPython
0 likes · 12 min read
Mastering Asynchronous Programming: From Sync/Async Basics to I/O Models
Code DAO
Code DAO
Jan 1, 2022 · Artificial Intelligence

Automating Machine Learning Workflows with Scikit‑Learn Pipelines

This article demonstrates how to build a reproducible fraud‑detection workflow using scikit‑learn's Pipeline class, comparing a manual script with a pipeline‑based approach on the IEEE‑CIS Kaggle dataset and showing the benefits of modular, repeatable ML code.

Pythonfraud detectionmachine learning
0 likes · 8 min read
Automating Machine Learning Workflows with Scikit‑Learn Pipelines
MaGe Linux Operations
MaGe Linux Operations
Dec 30, 2021 · Backend Development

Download Watermark‑Free Douyin Videos with a Simple Python Script

This article explains a streamlined method to extract and download watermark‑free Douyin short videos by inspecting network requests, locating hidden video URLs, and using a concise Python script with the jsonpath library, highlighting its advantages and remaining limitations.

DouyinJSONPathPython
0 likes · 5 min read
Download Watermark‑Free Douyin Videos with a Simple Python Script
21CTO
21CTO
Dec 29, 2021 · Fundamentals

Top 10 Python Tools & Libraries to Boost Your 2022 Development Skills

Discover the essential Python tools, IDEs, and libraries for 2022—including PyCharm, Jupyter Notebook, Keras, pip, Scikit‑Learn, Sphinx, Selenium, and Beautiful Soup—to enhance productivity, streamline coding, and empower developers across web, data science, and AI projects.

Development ToolsIDELibraries
0 likes · 9 min read
Top 10 Python Tools & Libraries to Boost Your 2022 Development Skills
Code DAO
Code DAO
Dec 29, 2021 · Artificial Intelligence

Inside Optuna: How Its Core Components Enable Hyper‑Parameter Optimization

This article dissects Optuna’s internal design by building three miniature versions (Minituna v1‑v3) that illustrate its main components, storage layer, sampling APIs, pruning mechanisms, and joint‑sampling concepts, while comparing them with Optuna’s full implementation.

MinitunaOptunaPython
0 likes · 24 min read
Inside Optuna: How Its Core Components Enable Hyper‑Parameter Optimization
Python Crawling & Data Mining
Python Crawling & Data Mining
Dec 28, 2021 · Backend Development

Master Selenium with Python: From Installation to Advanced Browser Automation

This comprehensive tutorial walks you through installing Selenium and ChromeDriver, initializing browsers (including headless mode), navigating pages, locating elements using various strategies, interacting with forms, handling multiple windows, performing mouse and keyboard actions, implementing explicit and implicit waits, executing JavaScript, and managing cookies for robust web automation and scraping.

Pythonbrowser testingweb automation
0 likes · 27 min read
Master Selenium with Python: From Installation to Advanced Browser Automation
IT Architects Alliance
IT Architects Alliance
Dec 28, 2021 · Fundamentals

Mastering QR Codes: Theory, Encoding, Decoding, and Python Implementation

This comprehensive guide explains QR code fundamentals—including their structure, versions, error‑correction levels, and data capacity—details the full encoding pipeline from requirement analysis to matrix construction, outlines the decoding steps, explores commercial use cases, and provides practical Python examples using python‑qrcode, Amazing‑QR, and Zxing.

Error CorrectionPythonQR code
0 likes · 22 min read
Mastering QR Codes: Theory, Encoding, Decoding, and Python Implementation
21CTO
21CTO
Dec 27, 2021 · Artificial Intelligence

Top 10 Python Machine Learning Libraries You Must Try in 2021

This article reviews the ten most notable Python libraries for machine learning in 2021, covering tools for handling nested data, notebook versioning, lightweight model demos, data management, multimodal augmentation, model monitoring, object detection, fast inference, time‑series forecasting, and neural search.

AILibrariesPython
0 likes · 9 min read
Top 10 Python Machine Learning Libraries You Must Try in 2021
Python Programming Learning Circle
Python Programming Learning Circle
Dec 22, 2021 · Fundamentals

Python Best Practices: Reducing Numeric Literals, Using Enums, and Writing Cleaner Code

This article presents practical Python best‑practice guidelines, including avoiding hard‑coded numeric literals by using enums, limiting raw string manipulation in favor of object‑oriented query building, keeping literal expressions readable, and applying useful tips such as treating booleans as numbers, handling long strings, using infinity constants, and understanding thread‑safety and string‑concatenation performance.

Code ReadabilityEnumPython
0 likes · 16 min read
Python Best Practices: Reducing Numeric Literals, Using Enums, and Writing Cleaner Code
Python Programming Learning Circle
Python Programming Learning Circle
Dec 21, 2021 · Artificial Intelligence

Introduction to CatBoost: Features, Advantages, and Practical Implementation

This article introduces CatBoost, outlines its key advantages such as automatic handling of categorical features, symmetric trees, and feature combination, and provides a step‑by‑step Python tutorial—including data preparation, model training, visualization, and feature importance analysis—using a CTR prediction dataset.

CatBoostPythonboosting
0 likes · 5 min read
Introduction to CatBoost: Features, Advantages, and Practical Implementation
Python Programming Learning Circle
Python Programming Learning Circle
Dec 21, 2021 · Fundamentals

Finding Lucky Numbers in a List Using Python: Step‑by‑Step with map, zip, filter and a One‑Liner

This tutorial explains how to solve the LeetCode "Lucky Numbers in a List" problem in Python by extracting unique elements, counting their occurrences with map and count, pairing them with zip, filtering with lambda, sorting the result, and finally compressing the whole logic into a single expressive line of code.

ListPythonalgorithm
0 likes · 8 min read
Finding Lucky Numbers in a List Using Python: Step‑by‑Step with map, zip, filter and a One‑Liner
Code DAO
Code DAO
Dec 20, 2021 · Artificial Intelligence

Exploring Latent Space with a Variational Autoencoder in TensorFlow

This article explains the theory behind variational autoencoders, details their KL‑divergence loss, provides a complete TensorFlow implementation, and demonstrates reconstruction, latent‑space visualization, and novel image generation through sampling and interpolation.

KL DivergencePythonTensorFlow
0 likes · 13 min read
Exploring Latent Space with a Variational Autoencoder in TensorFlow
Code DAO
Code DAO
Dec 20, 2021 · Artificial Intelligence

Building Efficient Data Pipelines with TensorFlow’s tf.data API

This article explains how to use TensorFlow’s tf.data API to construct high‑performance, flexible data pipelines—from loading images or tensors, applying transformations and data augmentation, to batching, shuffling, caching, prefetching, and feeding the pipeline directly into model.fit for training.

PythonTensorFlowdata loading
0 likes · 9 min read
Building Efficient Data Pipelines with TensorFlow’s tf.data API
Code DAO
Code DAO
Dec 19, 2021 · Artificial Intelligence

Exploring Latent Space with TensorFlow Autoencoders (Part 1)

This tutorial walks through building a TensorFlow 2.0 autoencoder from scratch, preparing the FashionDB dataset, visualizing raw images, projecting them into PCA and t‑SNE spaces, constructing encoder and decoder layers, training the model, and visualizing the resulting latent space to reveal image clusters.

AutoencoderPCAPython
0 likes · 13 min read
Exploring Latent Space with TensorFlow Autoencoders (Part 1)
Code DAO
Code DAO
Dec 18, 2021 · Artificial Intelligence

Implement Random Forest Regression in Python using Scikit-Learn

This article explains the fundamentals of random forest regression, describes why it outperforms single decision trees for nonlinear or noisy data, defines bootstrapping and bagging, and provides a step‑by‑step Python example using NumPy, Pandas, and Scikit‑Learn’s RandomForestRegressor with data loading, preprocessing, model training, prediction, and evaluation via MSE and R².

BootstrappingPythonRandom Forest
0 likes · 6 min read
Implement Random Forest Regression in Python using Scikit-Learn
FunTester
FunTester
Dec 18, 2021 · Backend Development

Using Postman and a Python Flask Service to Compare Old and New API Responses

The article explains how to keep external API contracts unchanged while replacing a data source by importing all microservice endpoints into Postman, writing pre‑request and test scripts, and optionally using a Python Flask service with deepdiff to automatically compare old and new JSON responses.

API-testingDeepDiffFlask
0 likes · 7 min read
Using Postman and a Python Flask Service to Compare Old and New API Responses
Python Programming Learning Circle
Python Programming Learning Circle
Dec 18, 2021 · Fundamentals

Vim Configuration Guide for Python Development

This guide provides a comprehensive Vim setup for Python development, covering .vimrc basics, window splitting, code folding, one‑key execution, plugin management with Vundle, auto‑completion tools, syntax checking, color schemes, file navigation, and useful shortcuts.

PythonVimVundle
0 likes · 10 min read
Vim Configuration Guide for Python Development
Python Programming Learning Circle
Python Programming Learning Circle
Dec 16, 2021 · Artificial Intelligence

Part-of-Speech Tagging with Jieba in Python

This article explains how to perform Chinese part-of-speech tagging using the jieba.posseg library in Python, including loading stop words, extracting article content via Newspaper3k, applying precise mode segmentation, filtering, and presenting results in a pandas DataFrame.

NLPPOS taggingPython
0 likes · 3 min read
Part-of-Speech Tagging with Jieba in Python
Code DAO
Code DAO
Dec 15, 2021 · Artificial Intelligence

Should You Monitor Your Machine Learning Models? An Introduction with Evidently AI

The article explains why monitoring production ML models is essential to detect data and target drift, describes the open‑source Evidently AI library and its statistical tests, and demonstrates its use on a weather‑forecast example and a plant‑seedling image classification case, including dashboards, code snippets, and visual analysis of drift impact.

Evidently AIPythonStatistical Tests
0 likes · 14 min read
Should You Monitor Your Machine Learning Models? An Introduction with Evidently AI
Python Programming Learning Circle
Python Programming Learning Circle
Dec 15, 2021 · Frontend Development

Using pyecharts to Create Various Map Visualizations in Python

This tutorial introduces the Python pyecharts library for creating various map visualizations with Echarts, explains how the code generates HTML files, and provides complete example functions for basic, label‑less, continuous and piecewise visual maps, world and regional maps, plus guidance for using real data.

Data VisualizationPyechartsPython
0 likes · 5 min read
Using pyecharts to Create Various Map Visualizations in Python
Code DAO
Code DAO
Dec 12, 2021 · Artificial Intelligence

How to Boost Text Analysis Accuracy on a 2‑Billion‑Word Corpus

This article explains practical techniques for improving NLP model accuracy on massive corpora, covering challenges of multi‑field text, word‑embedding choices, a fasttext‑based regression demo with book‑review data, feature engineering tricks, and a comparison with tf‑idf + LASSO.

NLPPythonText classification
0 likes · 13 min read
How to Boost Text Analysis Accuracy on a 2‑Billion‑Word Corpus
MaGe Linux Operations
MaGe Linux Operations
Dec 12, 2021 · Backend Development

Which Python Build Tool Fits Your Project? A Hands‑On Comparison

This article reviews the lack of a standard Python project management tool, compares four popular solutions—CookieCutter, PyScaffold, PyBuilder, and Poetry—detailing their installation, generated directory structures, and build commands, while showing how to use Make, tox, and other utilities for testing and packaging.

Build ToolsPoetryPython
0 likes · 12 min read
Which Python Build Tool Fits Your Project? A Hands‑On Comparison
MaGe Linux Operations
MaGe Linux Operations
Dec 11, 2021 · Backend Development

Mastering Python Signals with Blinker and Flask: A Complete Guide

This article introduces the concept of signals, explains the features of the Python Blinker library, demonstrates various usage patterns—including named, anonymous, multicast, and topic‑based signals—as well as how to integrate Blinker with Flask for custom and built‑in Flask signals, highlighting advantages and limitations.

Backend DevelopmentBlinkerFlask
0 likes · 12 min read
Mastering Python Signals with Blinker and Flask: A Complete Guide
Python Programming Learning Circle
Python Programming Learning Circle
Dec 11, 2021 · Fundamentals

Understanding Python Threads, Processes, GIL, and Multiprocessing

This article explains the fundamental differences between threads and processes, the role of Python's Global Interpreter Lock (GIL), and how to use the multiprocessing package—including Process, Pool, Queue, Pipe, and synchronization primitives—as well as an overview of concurrent.futures for high‑level concurrent programming in Python.

GILPythonconcurrency
0 likes · 38 min read
Understanding Python Threads, Processes, GIL, and Multiprocessing
Python Programming Learning Circle
Python Programming Learning Circle
Dec 10, 2021 · Fundamentals

Python Programming Exercises: Sorting, Math, File Operations, and More

This article presents a comprehensive collection of over thirty Python programming exercises covering basic algorithms such as bubble sort, mathematical computations, string manipulation, file system operations, and utility scripts, each illustrated with code screenshots to help learners practice and master fundamental coding skills.

AlgorithmsCode ExamplesPython
0 likes · 5 min read
Python Programming Exercises: Sorting, Math, File Operations, and More
Baobao Algorithm Notes
Baobao Algorithm Notes
Dec 10, 2021 · Artificial Intelligence

AutoX: One-Click Tabular AutoML from Feature Engineering to Model Fusion

AutoX offers a one‑click solution for tabular AutoML by defining feature operators, constructing a searchable feature space, applying efficient feature selection, tuning hyper‑parameters, and performing model ensembling, enabling users with limited ML expertise to automatically generate high‑performing predictive models, as demonstrated on multiple Kaggle datasets.

AutoMLAutoXMachine Learning Automation
0 likes · 7 min read
AutoX: One-Click Tabular AutoML from Feature Engineering to Model Fusion
Laravel Tech Community
Laravel Tech Community
Dec 9, 2021 · Fundamentals

TIOBE Programming Language Index – December 2021 Rankings and Trends

The December 2021 TIOBE index reveals the top 20 programming languages, highlights notable movements such as Python’s three‑month dominance, Swift’s rise into the top ten, and C# as a strong candidate for the upcoming annual award, while also explaining the index’s methodology and its limitations.

C#PythonTIOBE Index
0 likes · 5 min read
TIOBE Programming Language Index – December 2021 Rankings and Trends
Python Programming Learning Circle
Python Programming Learning Circle
Dec 9, 2021 · Fundamentals

Plotting 500‑hPa Geopotential Height, Wind Speed, and Wind Barbs with Python, xarray, and Cartopy

This tutorial shows how to load a NAM NetCDF file with xarray, smooth 500‑hPa geopotential height and wind components, compute wind speed using MetPy, and create a Lambert Conformal map with Cartopy that displays color‑filled wind speed, height contours, and wind barbs, finally saving the figure as an image.

CartopyMetPyPython
0 likes · 5 min read
Plotting 500‑hPa Geopotential Height, Wind Speed, and Wind Barbs with Python, xarray, and Cartopy
Python Programming Learning Circle
Python Programming Learning Circle
Dec 9, 2021 · Game Development

Modular Alien Invasion Game Tutorial with Python and Pygame

This tutorial walks through building a complete Alien Invasion arcade game in Python using Pygame, explaining the modular design of settings, ship, alien, bullet, button, game statistics, and scoreboard modules, and demonstrates how to implement game loops, event handling, collision detection, and scoring logic.

Alien InvasionModular ProgrammingPython
0 likes · 15 min read
Modular Alien Invasion Game Tutorial with Python and Pygame
Python Programming Learning Circle
Python Programming Learning Circle
Dec 8, 2021 · Backend Development

Using PyInstaller and Nuitka to Package Python Projects into Executables

This article compares PyInstaller and Nuitka for converting Python scripts into standalone Windows executables, discusses their advantages and drawbacks, provides step‑by‑step installation of Nuitka, explains key command‑line options, and demonstrates a practical example that yields a tiny, fast‑building executable versus a large, slow‑building PyInstaller output.

CLINuitkaPackaging
0 likes · 6 min read
Using PyInstaller and Nuitka to Package Python Projects into Executables
Code DAO
Code DAO
Dec 7, 2021 · Artificial Intelligence

How to Cluster Text with TF‑IDF, KMeans and PCA in Python

This article walks through a complete Python workflow that loads the 20 Newsgroups dataset, preprocesses the documents, vectorizes them with TF‑IDF, groups them using KMeans, reduces dimensions with PCA, and visualizes the resulting clusters, illustrating each step with code and plots.

KMeansNLPPCA
0 likes · 13 min read
How to Cluster Text with TF‑IDF, KMeans and PCA in Python
Efficient Ops
Efficient Ops
Dec 5, 2021 · Backend Development

How I Boosted a Python Service to 50k QPS: Real‑World Performance Tuning Steps

This article details a step‑by‑step performance optimization of a Python backend service, covering requirement analysis, architecture redesign with caching and Redis queues, load‑testing results, TCP TIME_WAIT issues, and kernel parameter tweaks that ultimately raised throughput to 50,000 QPS with zero errors.

LinuxLoad TestingPerformance Optimization
0 likes · 9 min read
How I Boosted a Python Service to 50k QPS: Real‑World Performance Tuning Steps
Code DAO
Code DAO
Dec 3, 2021 · Artificial Intelligence

Understanding Actor‑Critic and A2C: From Policy Gradients to REINFORCE in RL

This article derives the policy‑gradient objective for discrete actions, implements the Monte‑Carlo REINFORCE algorithm in PyTorch, explains the actor‑critic framework, introduces Advantage Actor‑Critic (A2C) versus A3C, and demonstrates their performance on the OpenAI Gym CartPole‑v0 environment.

A2COpenAI GymPython
0 likes · 13 min read
Understanding Actor‑Critic and A2C: From Policy Gradients to REINFORCE in RL
Python Programming Learning Circle
Python Programming Learning Circle
Dec 2, 2021 · Frontend Development

CuteCharts: A Lightweight Python Visualization Library – Installation and Basic Examples

This article introduces the lightweight Python visualization library cutecharts, explains its installation, and provides step‑by‑step code examples for creating line, bar, pie, radar, scatter charts and combined page charts, demonstrating how to customize options such as labels, legends, colors, and inner radius.

CuteChartsPythoncharts
0 likes · 9 min read
CuteCharts: A Lightweight Python Visualization Library – Installation and Basic Examples
Hacker Afternoon Tea
Hacker Afternoon Tea
Dec 1, 2021 · Big Data

Setting Up a Local Snuba Development Environment for Sentry Monitoring

This guide walks through cloning the Sentry and Snuba repositories, installing macOS system dependencies, configuring Python and Rust toolchains, launching Docker containers for ClickHouse, Kafka and Redis, running Snuba migrations, and finally starting the dev server to query events via a local UI.

ClickHouseDevOpsDocker
0 likes · 9 min read
Setting Up a Local Snuba Development Environment for Sentry Monitoring
Code DAO
Code DAO
Dec 1, 2021 · Artificial Intelligence

Building a Satellite Image Classifier with PyTorch ResNet34

This article walks through creating a satellite image classification pipeline using PyTorch and a pretrained ResNet34 model, covering dataset preparation, project structure, data loading, model definition, training, validation, loss/accuracy plotting, and inference on new images with detailed code examples and results.

PyTorchPythonResNet34
0 likes · 17 min read
Building a Satellite Image Classifier with PyTorch ResNet34
Python Programming Learning Circle
Python Programming Learning Circle
Dec 1, 2021 · Fundamentals

Introduction to NetworkX: Installation, Basic Usage, and Graph Operations in Python

This article introduces the Python NetworkX library, covering its installation via Anaconda, fundamental graph creation, node and edge manipulation, attribute handling, directed and multigraph features, built‑in generators, analysis functions, and visualization with Matplotlib, all illustrated with concrete code examples.

Data StructuresPythongraph theory
0 likes · 13 min read
Introduction to NetworkX: Installation, Basic Usage, and Graph Operations in Python
Python Programming Learning Circle
Python Programming Learning Circle
Dec 1, 2021 · Fundamentals

The Fastest Way to Loop in Python: Using Built‑in Functions and Formulas Instead of While/For Loops

This article benchmarks Python while and for loops, shows that for loops are faster due to fewer operations, demonstrates how built‑in functions like sum and direct arithmetic formulas can achieve orders‑of‑magnitude speedups, and concludes that the quickest way to "loop" in Python is to avoid loops altogether.

Algorithmic EfficiencyBenchmarkingOptimization
0 likes · 8 min read
The Fastest Way to Loop in Python: Using Built‑in Functions and Formulas Instead of While/For Loops
Code DAO
Code DAO
Nov 30, 2021 · Artificial Intelligence

How to Train a Custom Object Detector with PyTorch Faster R‑CNN

This article provides a step‑by‑step guide to building, training, and evaluating a custom object detection model using PyTorch Faster R‑CNN on a microcontroller dataset, covering data preparation, configuration, model modification, training loops, loss visualization, and inference on new images.

Faster R-CNNObject DetectionPyTorch
0 likes · 23 min read
How to Train a Custom Object Detector with PyTorch Faster R‑CNN
Liangxu Linux
Liangxu Linux
Nov 28, 2021 · Information Security

How to Use Shodan’s Python SDK for Device Discovery and Analysis

This guide explains what Shodan is, why internet‑connected devices are vulnerable, and provides step‑by‑step instructions—including environment setup, API key registration, basic Python searches, and advanced facet queries—to safely explore and analyze exposed devices.

APIDevice DiscoveryFacets
0 likes · 6 min read
How to Use Shodan’s Python SDK for Device Discovery and Analysis