Tagged articles

Python

5000 articles · Page 46 of 50
Python Programming Learning Circle
Python Programming Learning Circle
Apr 14, 2021 · Fundamentals

Setting Up a Python Development Environment with pyenv, Poetry, Black, mypy, and pre-commit

This guide explains how to configure a robust Python development environment by installing pyenv for version management, using Poetry for dependency handling, applying Black for code formatting, integrating mypy for static type checking, and automating checks with pre-commit, all illustrated with concrete command examples.

BlackPoetryPython
0 likes · 10 min read
Setting Up a Python Development Environment with pyenv, Poetry, Black, mypy, and pre-commit
Python Programming Learning Circle
Python Programming Learning Circle
Apr 14, 2021 · Fundamentals

Introducing Ryven: A Python Visual Scripting Tool and How to Use It

This article introduces Ryven, a Python visual scripting tool created by a university student, explains how to set up the environment, run the editor, and describes its data‑flow and execution‑flow modes along with future feature ideas, highlighting that visual programming complements rather than replaces text coding.

PythonTutorialVisual Programming
0 likes · 3 min read
Introducing Ryven: A Python Visual Scripting Tool and How to Use It
MaGe Linux Operations
MaGe Linux Operations
Apr 13, 2021 · Artificial Intelligence

Top 10 Free Python Libraries for Image Processing You Should Try

Discover ten essential, free Python libraries for image processing—from scikit-image and NumPy to OpenCV-Python and Pycairo—each with resources, usage examples, and visual demonstrations, enabling you to manipulate, analyze, and transform images efficiently for computer vision and data science projects.

LibrariesOpenCVPython
0 likes · 12 min read
Top 10 Free Python Libraries for Image Processing You Should Try
Python Programming Learning Circle
Python Programming Learning Circle
Apr 13, 2021 · Backend Development

Python Web Scraping Techniques: GET/POST Requests, Proxy IP, Cookies, Header Spoofing, Gzip Compression, and Multithreading

This article provides a comprehensive Python web‑scraping guide covering basic GET/POST requests with urllib2, proxy handling, cookie management, header manipulation to mimic browsers, gzip compression handling, regular‑expression and library parsing, simple captcha strategies, and a multithreaded thread‑pool example.

GZIPHeader SpoofingProxy
0 likes · 8 min read
Python Web Scraping Techniques: GET/POST Requests, Proxy IP, Cookies, Header Spoofing, Gzip Compression, and Multithreading
Python Crawling & Data Mining
Python Crawling & Data Mining
Apr 11, 2021 · Fundamentals

Unlock Python’s @property: Turn Methods into Seamless Attributes

This article explains how Python’s @property decorator transforms class methods into attribute-like accessors, covering basic usage, setter/getter patterns, error handling, and practical examples such as score validation and temperature conversion, helping developers write cleaner, more encapsulated code.

DecoratorPropertyPython
0 likes · 8 min read
Unlock Python’s @property: Turn Methods into Seamless Attributes
Python Crawling & Data Mining
Python Crawling & Data Mining
Apr 10, 2021 · Fundamentals

Create Stunning Dynamic Bar Chart Races in Python with Just 3 Lines of Code

This tutorial shows how to generate eye‑catching dynamic bar‑chart‑race visualisations in Python using the bar_chart_race library, covering installation challenges, basic usage, GIF/MP4 output, and a wide range of customisation options such as orientation, sorting, colour maps, labels and Chinese text support.

Bar Chart RaceData VisualizationDynamic Charts
0 likes · 10 min read
Create Stunning Dynamic Bar Chart Races in Python with Just 3 Lines of Code
MaGe Linux Operations
MaGe Linux Operations
Apr 9, 2021 · Backend Development

Understanding WSGI: How Python Web Apps Communicate with Servers

WSGI (Web Server Gateway Interface) defines how Python web frameworks like Django and Flask interact with web servers, acting as a mediator that enables flexible, scalable deployment across servers such as Apache, NGINX, and containers like Gunicorn, uWSGI, and mod_wsgi.

BackendDjangoPython
0 likes · 5 min read
Understanding WSGI: How Python Web Apps Communicate with Servers
Python Programming Learning Circle
Python Programming Learning Circle
Apr 9, 2021 · Backend Development

Scraping Eleme Store Comments with Python

This tutorial explains how to use Python on Windows to crawl any Eleme restaurant's comments—including user IDs, ratings, dates, text, and images—by analyzing network requests, constructing request URLs, retrieving JSON data, and storing the results in Excel or databases.

BackendElemePython
0 likes · 12 min read
Scraping Eleme Store Comments with Python
Python Programming Learning Circle
Python Programming Learning Circle
Apr 8, 2021 · Fundamentals

Python Regular Expressions: Syntax, Character Classes, Quantifiers, Groups, Assertions, Flags, and Usage

This article provides a comprehensive overview of Python's regular expression features, covering special characters, character classes, quantifiers, grouping, backreferences, assertions, conditional matching, flags, and the most commonly used methods of the re module with illustrative code examples.

PythonString processingassertions
0 likes · 14 min read
Python Regular Expressions: Syntax, Character Classes, Quantifiers, Groups, Assertions, Flags, and Usage
Python Programming Learning Circle
Python Programming Learning Circle
Apr 6, 2021 · Fundamentals

30 Minimal Python Tasks and Code Snippets for Beginners

This article presents thirty concise Python exercises, each with a short description and ready‑to‑run code illustrating common tasks such as duplicate detection, anagram checking, memory and byte size measurement, string repetition, title‑casing, list chunking, filtering, dictionary merging, enumeration, timing, exception handling, frequency analysis, palindrome testing, operator‑based calculations, shuffling, and more.

AlgorithmsPythoncode snippets
0 likes · 12 min read
30 Minimal Python Tasks and Code Snippets for Beginners
Laravel Tech Community
Laravel Tech Community
Apr 5, 2021 · Fundamentals

Python 3.9.3 and 3.8.9 Release Notes: Security Fixes and Improvements

Python 3.9.3 and 3.8.9 were released early with multiple security patches, OpenSSL CVE fixes, module hardening, FTP PASV safety, audit hooks, Unicode handling improvements, and various bug fixes for syntax errors, import cycles, recursion limits, SSL context, and SMTP authentication.

Programming LanguagePythonbug fix
0 likes · 4 min read
Python 3.9.3 and 3.8.9 Release Notes: Security Fixes and Improvements
21CTO
21CTO
Apr 5, 2021 · Information Security

Google Beats Oracle on API Copyright and Other Tech Headlines You Need to Know

The Supreme Court ruled APIs uncopyrightable, letting Google use Java code in Android, while LG exits the smartphone market, a massive Facebook data leak surfaces, UK developer jobs surge amid skill shortages, and Python 3.9.4 patches critical security flaws.

APIFacebookGoogle
0 likes · 6 min read
Google Beats Oracle on API Copyright and Other Tech Headlines You Need to Know
Python Crawling & Data Mining
Python Crawling & Data Mining
Apr 5, 2021 · Fundamentals

Master XPath and lxml: A Complete Guide to XML Parsing in Python

This article provides a comprehensive tutorial on XPath concepts, node types, syntax, axes, predicates, and operators, followed by a detailed introduction to the fast Python lxml library, its installation, usage for both offline and online HTML parsing, and practical code examples for extracting elements and attributes.

PythonXML parsinglxml
0 likes · 11 min read
Master XPath and lxml: A Complete Guide to XML Parsing in Python
MaGe Linux Operations
MaGe Linux Operations
Apr 4, 2021 · Information Security

Step‑by‑Step Analysis and Exploitation of a QQ Phishing Site

An in‑depth walkthrough demonstrates how to identify, analyze, and attack a QQ phishing website—revealing its URL, POST parameters, using Python to flood it with fake credentials, performing WHOIS, ping, nmap, and w3af scans, uncovering backend details, and discussing mitigation strategies.

Penetration TestingPythonWeb Security
0 likes · 7 min read
Step‑by‑Step Analysis and Exploitation of a QQ Phishing Site
DataFunTalk
DataFunTalk
Apr 4, 2021 · Big Data

User Profiling: Concepts, Practices, and Data‑Driven E‑Commerce Case Study

This article introduces the fundamentals of user profiling, explains tag types and their business value, and demonstrates a data‑driven e‑commerce case study that analyzes gender, age, region, marital status, education, profession, product preferences, purchase timing, and price sensitivity to guide targeted promotion strategies.

Data AnalysisPythone‑commerce
0 likes · 16 min read
User Profiling: Concepts, Practices, and Data‑Driven E‑Commerce Case Study
Python Crawling & Data Mining
Python Crawling & Data Mining
Apr 4, 2021 · Frontend Development

Mastering pyecharts Bar Charts: From Basics to Advanced Customizations

This article walks through installing pyecharts, explains its version differences, and demonstrates a series of bar‑chart techniques—including basic charts, axis labeling, multiple series, styling, horizontal orientation, mark lines/points, label rotation, and interactive zoom—complete with code snippets and visual examples.

PyechartsPythonbar chart
0 likes · 10 min read
Mastering pyecharts Bar Charts: From Basics to Advanced Customizations
Python Programming Learning Circle
Python Programming Learning Circle
Mar 31, 2021 · Backend Development

Getting Started with requests-html: Installation, Basic Usage, and Advanced Features

This article introduces the Python requests-html library, covering its installation, basic operations such as fetching pages, extracting links and elements with CSS and XPath selectors, advanced capabilities like JavaScript rendering, pagination handling, custom request options, and practical web‑scraping examples.

JavaScript renderingPythonrequests-html
0 likes · 16 min read
Getting Started with requests-html: Installation, Basic Usage, and Advanced Features
Python Crawling & Data Mining
Python Crawling & Data Mining
Mar 30, 2021 · Fundamentals

Boost Your Python Skills with a Free Exam Simulation Tool

This article introduces a free Python certification exam simulator, explains how to download, install, and crack the software, and shows how to use its diverse question sets to assess and improve your Python fundamentals, data‑structure knowledge, and overall coding confidence.

Data StructuresPythonSoftware Tutorial
0 likes · 7 min read
Boost Your Python Skills with a Free Exam Simulation Tool
MaGe Linux Operations
MaGe Linux Operations
Mar 29, 2021 · Artificial Intelligence

Mastering PyTorch Visualization: TensorBoard and Visdom Guide

This tutorial explains how to install, launch, and use TensorBoard and Visdom with PyTorch, providing step‑by‑step commands, code examples for logging training metrics, and visualizing images and plots to monitor deep‑learning experiments.

PyTorchPythonTensorBoard
0 likes · 6 min read
Mastering PyTorch Visualization: TensorBoard and Visdom Guide
Python Programming Learning Circle
Python Programming Learning Circle
Mar 29, 2021 · Fundamentals

Understanding Python Context Managers: Basics, Custom Implementations, and Advanced Applications

This article explains Python's context manager mechanism, covering the basic with statement, custom __enter__/__exit__ classes, the contextlib.contextmanager decorator, nesting, combining multiple managers with ExitStack, and practical applications such as SQLAlchemy session handling, exception management, and persistent HTTP requests.

DecoratorPythonSQLAlchemy
0 likes · 6 min read
Understanding Python Context Managers: Basics, Custom Implementations, and Advanced Applications
MaGe Linux Operations
MaGe Linux Operations
Mar 28, 2021 · Fundamentals

Why Switch to Plotly? Create Stunning Interactive Charts in One Line

This article introduces the open‑source Plotly library for Python, showing how to install it, use the cufflinks wrapper with Pandas, and create a variety of interactive visualizations—from simple bar and box plots to scatter matrices, time‑series charts, heatmaps, and themed 3D figures—using just one or two lines of code.

CufflinksData VisualizationInteractive Charts
0 likes · 9 min read
Why Switch to Plotly? Create Stunning Interactive Charts in One Line
DataFunSummit
DataFunSummit
Mar 28, 2021 · Artificial Intelligence

Deploying Scikit‑learn and HMMlearn Models as High‑Performance Online Prediction Services Using ONNX

This article demonstrates how to convert traditional scikit‑learn and hmmlearn machine‑learning models into ONNX format and integrate them into a C++ gRPC service for fast online inference, covering environment setup, model conversion, custom operators, performance testing, and end‑to‑end pipeline construction.

C++ONNXPerformance
0 likes · 22 min read
Deploying Scikit‑learn and HMMlearn Models as High‑Performance Online Prediction Services Using ONNX
MaGe Linux Operations
MaGe Linux Operations
Mar 26, 2021 · Fundamentals

Master Google Python Style Guide: Essential Coding Standards Explained

This comprehensive guide translates Google's Python style guide into clear English, covering everything from naming conventions and imports to docstrings, type annotations, and best practices for functions, classes, and modules, helping developers write clean, consistent, and maintainable Python code.

PythonStyle Guidecoding standards
0 likes · 55 min read
Master Google Python Style Guide: Essential Coding Standards Explained
MaGe Linux Operations
MaGe Linux Operations
Mar 24, 2021 · Fundamentals

Master Python Variables: Definitions, Naming Rules, and Best Practices

This article explains what variables are, why they’re essential in programming, how to define them in Python, the components of a variable, naming conventions, common pitfalls, and demonstrates both camelCase and snake_case styles with code examples, plus a brief note on constants.

Programming FundamentalsPythonnaming conventions
0 likes · 5 min read
Master Python Variables: Definitions, Naming Rules, and Best Practices
Python Programming Learning Circle
Python Programming Learning Circle
Mar 23, 2021 · Fundamentals

Coroutines and Asynchronous Programming in Python

This article explains Python coroutines, their advantages over threads, demonstrates producer‑consumer patterns, introduces the asyncio event loop, shows how to use async/await syntax, and provides examples of asynchronous network requests and a simple aiohttp server for high‑concurrency I/O.

Asynchronous ProgrammingPythonaiohttp
0 likes · 13 min read
Coroutines and Asynchronous Programming in Python
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Mar 23, 2021 · Artificial Intelligence

How to Recognize Credit Card Numbers with OpenCV: A Step‑by‑Step Tutorial

This tutorial walks through a project‑based OpenCV workflow that reads a digit template, preprocesses both template and credit‑card images, extracts individual numbers, matches them against the template, and finally overlays the recognized digits onto the original image, illustrating core computer‑vision techniques.

OCROpenCVPython
0 likes · 10 min read
How to Recognize Credit Card Numbers with OpenCV: A Step‑by‑Step Tutorial
MaGe Linux Operations
MaGe Linux Operations
Mar 22, 2021 · Backend Development

Master Python File Downloads: Requests, Wget, Asyncio, S3, and More

This tutorial teaches you how to download files in Python using various modules—including requests, wget, urllib, urllib3, boto3, and asyncio—covering simple downloads, handling redirects, chunked large-file downloads, multithreaded batch downloads, progress bars, proxy usage, and Amazon S3 retrieval.

Boto3File DownloadPython
0 likes · 9 min read
Master Python File Downloads: Requests, Wget, Asyncio, S3, and More
MaGe Linux Operations
MaGe Linux Operations
Mar 20, 2021 · Game Development

How to Build a Flappy Bird Clone with Python and Pygame

This article walks you through creating a Flappy Bird‑style game using Python 3 and the pygame library, covering installation, running the program, visual demos, and a full source‑code listing that includes bird, pipe, stone, and bullet mechanics with level progression and sound effects.

Flappy BirdPygamePython
0 likes · 17 min read
How to Build a Flappy Bird Clone with Python and Pygame
Python Programming Learning Circle
Python Programming Learning Circle
Mar 20, 2021 · Fundamentals

Understanding Python Object Memory Management and Garbage Collection

This article explains Python's memory management, covering object references, identity via id(), reference counting, caching of small objects, the use of the is operator, handling of reference cycles with objgraph, manual reference deletion, and the generational garbage collection mechanism including thresholds and cycle detection.

Generational GCPythonReference Counting
0 likes · 12 min read
Understanding Python Object Memory Management and Garbage Collection
Python Programming Learning Circle
Python Programming Learning Circle
Mar 17, 2021 · Big Data

Eight Python Techniques for Efficient Data Analysis

This article presents eight Python data analysis techniques—including list comprehensions, lambda expressions, map/filter, NumPy arange and linspace, pandas axis handling, and DataFrame concatenation, merging, joining, applying, and pivot tables—to improve code efficiency, readability, and analytical capabilities.

Data AnalysisNumPyPython
0 likes · 7 min read
Eight Python Techniques for Efficient Data Analysis
MaGe Linux Operations
MaGe Linux Operations
Mar 16, 2021 · Fundamentals

Top 8 Essential Python Tools Every Developer Should Know

This article introduces eight essential Python tools—including IDLE, scikit-learn, Theano, Selenium, TestComplete, Beautiful Soup, Pandas, and PuLP—highlighting their key features, typical use cases, and why they are valuable for developers across web development, data science, testing, and automation.

LibrariesOptimizationPython
0 likes · 6 min read
Top 8 Essential Python Tools Every Developer Should Know
MaGe Linux Operations
MaGe Linux Operations
Mar 14, 2021 · Fundamentals

What the Future Holds for Python at 30? Insights from a Core Contributor

Celebrating Python’s 30th birthday, this interview with core contributor Pablo Galindo explores the language’s rise, current massive adoption, diverse use cases—from machine‑learning models to internal tooling—and his perspective on upcoming challenges, performance improvements, and the balance between evolution and backward compatibility.

Programming LanguagePythoncommunity
0 likes · 5 min read
What the Future Holds for Python at 30? Insights from a Core Contributor
MaGe Linux Operations
MaGe Linux Operations
Mar 13, 2021 · Fundamentals

7 Must‑Visit GitHub Repositories to Master Python Programming

Discover seven high‑quality open‑source GitHub repositories that cover Python fundamentals, intermediate concepts, advanced topics, and practical exercises, each offering notebooks, scripts, and additional resources to help learners progress from beginner to proficient Python developer.

GitHubLearning ResourcesPython
0 likes · 7 min read
7 Must‑Visit GitHub Repositories to Master Python Programming
MaGe Linux Operations
MaGe Linux Operations
Mar 12, 2021 · Fundamentals

15 Must‑Try Python Packages Every Developer Should Know

This article introduces fifteen essential Python packages—from data‑visualization tools like Dash and Plotly, to game development with Pygame, image processing with Pillow, HTTP handling with Requests, and automation utilities such as tqdm—explaining their key features, typical use cases, and why they’re valuable for developers.

LibrariesPythondevelopment
0 likes · 13 min read
15 Must‑Try Python Packages Every Developer Should Know
Practical DevOps Architecture
Practical DevOps Architecture
Mar 11, 2021 · Fundamentals

Python Dictionary and Set Basics

This article introduces Python's built‑in dictionary and set types, explaining their characteristics, common operations, and providing example code to demonstrate creation, element access, and membership testing, while also highlighting key differences such as mutability of values and the use of hashable elements as keys.

Data StructuresPythondictionary
0 likes · 5 min read
Python Dictionary and Set Basics
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Mar 10, 2021 · Fundamentals

Mastering Clean Code: SOLID Principles, Architecture Patterns, and Naming Strategies

This article distills essential software design knowledge—covering the five SOLID principles, three common architecture styles, effective diagramming, naming conventions, and techniques for simplifying nested if‑else logic—providing concrete Python examples and visual aids to help developers write more maintainable and robust code.

Design PatternsPythonclean code
0 likes · 22 min read
Mastering Clean Code: SOLID Principles, Architecture Patterns, and Naming Strategies
Practical DevOps Architecture
Practical DevOps Architecture
Mar 10, 2021 · Fundamentals

Python Control Flow: if‑elif‑else, while, and for Loops

This article explains Python's core control‑flow constructs—if‑elif‑else, while, and for loops—providing clear explanations, runnable code examples, and additional notes on boolean logic and string formatting for beginners and intermediate programmers.

Programming FundamentalsPythoncontrol flow
0 likes · 4 min read
Python Control Flow: if‑elif‑else, while, and for Loops
DataFunTalk
DataFunTalk
Mar 9, 2021 · Artificial Intelligence

Introduction to Common Machine Learning Algorithms with Python Implementations

This article introduces the three main categories of machine learning—supervised, unsupervised, and reinforcement learning—detailing common algorithms such as Linear Regression, Logistic Regression, Naive Bayes, K‑Nearest Neighbors, Decision Trees, Random Forests, SVM, K‑Means, and PCA, and provides concise Python code examples using scikit‑learn for each.

PythonUnsupervised Learningmachine learning
0 likes · 18 min read
Introduction to Common Machine Learning Algorithms with Python Implementations
Python Crawling & Data Mining
Python Crawling & Data Mining
Mar 9, 2021 · Fundamentals

How to Automate Rainfall Word Reports with Python and Pandas

This article walks through reading monthly rainfall data with pandas, cleaning missing values, calculating rainfall deviations, generating descriptive paragraphs, and rendering a formatted Word report using docxtpl, providing complete code snippets and example outputs for each step.

Data ProcessingDocxTemplatePython
0 likes · 8 min read
How to Automate Rainfall Word Reports with Python and Pandas
Python Programming Learning Circle
Python Programming Learning Circle
Mar 8, 2021 · Fundamentals

Introduction to IPython: Installation, Features, and Usage

This article introduces IPython, covering its installation, core components, key interactive features such as tab completion, introspection, magic commands, system shell integration, and how to use it within Jupyter Notebook, providing practical command examples and shortcuts for efficient Python development.

IPythonJupyterMagic Commands
0 likes · 10 min read
Introduction to IPython: Installation, Features, and Usage
MaGe Linux Operations
MaGe Linux Operations
Mar 5, 2021 · Fundamentals

Turn Python Code into LaTeX Formulas Instantly with latexify_py

Struggling with complex equations in Word? The open‑source Python tool latexify_py converts Python expressions into clean LaTeX formulas, requiring only basic regex knowledge, and simplifies editing, piecewise functions, and more—making academic writing faster and error‑free.

LaTeXMathPython
0 likes · 3 min read
Turn Python Code into LaTeX Formulas Instantly with latexify_py
360 Tech Engineering
360 Tech Engineering
Mar 5, 2021 · Mobile Development

Extracting Audio from Android Emulators Using MEmu, Python, and FFmpeg

This guide explains how to capture internal audio from Android devices by running multiple MEmu emulators, parsing their configuration XML to map simulators to recordings, automating screen capture with Windows APIs, separating audio with FFmpeg, and addressing common pitfalls such as naming collisions and permission issues.

AndroidAudio ExtractionFFmpeg
0 likes · 8 min read
Extracting Audio from Android Emulators Using MEmu, Python, and FFmpeg
Python Programming Learning Circle
Python Programming Learning Circle
Mar 5, 2021 · Fundamentals

Python Built‑in Functions and Common Usage

This article introduces Python's built‑in functions, data types, numeric conversions, mathematical utilities, sequence and collection constructors, iteration tools, scope inspection, dynamic code execution, memory introspection, file handling, and module import techniques, providing concise code examples for each concept.

Code ExecutionData TypesFile Handling
0 likes · 11 min read
Python Built‑in Functions and Common Usage
360 Quality & Efficiency
360 Quality & Efficiency
Mar 5, 2021 · Databases

Asynchronous MySQL Operations with aiomysql and SQLAlchemy in Python

This tutorial explains how to perform asynchronous MySQL operations in Python using aiomysql, covering basic connections, CRUD actions, safe parameter handling to prevent SQL injection, connection pooling, transaction management, integration with SQLAlchemy for ORM queries, and a custom reconnection wrapper for resilient database access.

MySQLPythonSQLAlchemy
0 likes · 38 min read
Asynchronous MySQL Operations with aiomysql and SQLAlchemy in Python
21CTO
21CTO
Mar 4, 2021 · Fundamentals

Why JavaScript Still Leads the RedMonk 2021 Language Rankings

RedMonk’s February 2021 programming language ranking places JavaScript at the top, followed by Python, Java, and PHP, using GitHub pull‑request data and Stack Overflow activity to gauge popularity, and notes that half of the top‑20 languages have shifted unusually compared to the previous year.

JavaScriptLanguage PopularityPython
0 likes · 3 min read
Why JavaScript Still Leads the RedMonk 2021 Language Rankings