Tagged articles
5000 articles
Page 19 of 50
Test Development Learning Exchange
Test Development Learning Exchange
Aug 2, 2024 · Fundamentals

Automating Image Watermarking with Python and Pillow

This article introduces the importance of image watermarking for copyright protection and provides a step‑by‑step Python tutorial using the Pillow library, covering installation, basic usage, a script for batch watermarking, and advanced techniques such as dynamic watermarks and automated folder monitoring.

Image ProcessingPythonWatermark
0 likes · 4 min read
Automating Image Watermarking with Python and Pillow
Python Programming Learning Circle
Python Programming Learning Circle
Aug 1, 2024 · Fundamentals

Comprehensive Guide to Python File Operations, CSV, JSON, and Pickle

This article provides a thorough overview of Python file handling, covering opening and closing files, absolute and relative paths, various file modes, reading and writing techniques, pointer manipulation, file copying, CSV I/O, in‑memory streams with StringIO/BytesIO, and serialization/deserialization using JSON and pickle modules.

File I/OPythonStringIO
0 likes · 17 min read
Comprehensive Guide to Python File Operations, CSV, JSON, and Pickle
Python Programming Learning Circle
Python Programming Learning Circle
Jul 31, 2024 · Fundamentals

Using Python's os Module to Delete Duplicate Files

This article demonstrates a simple Python method for identifying and removing duplicate files by leveraging the built‑in os module, explaining how to list directory contents, construct file paths, and use os.remove() to delete unwanted copies, complete with example code and usage notes.

OS modulePythonautomation
0 likes · 4 min read
Using Python's os Module to Delete Duplicate Files
Test Development Learning Exchange
Test Development Learning Exchange
Jul 31, 2024 · Fundamentals

Introduction to Variable Scope in Python

This article explains Python's four variable scope types—local, enclosing, global, and built‑in—through clear descriptions and runnable code examples that illustrate how each scope affects variable accessibility and program behavior.

PythonVariable Scopeprogramming fundamentals
0 likes · 4 min read
Introduction to Variable Scope in Python
Python Programming Learning Circle
Python Programming Learning Circle
Jul 30, 2024 · Fundamentals

Comprehensive Guide to Essential NumPy Functions for Array Creation, Manipulation, and Analysis

This tutorial presents a detailed overview of over fifty core NumPy functions, covering array creation, reshaping, arithmetic, statistical analysis, set operations, splitting, stacking, printing, and data persistence, with clear explanations and complete code examples for each operation.

ArrayOperationsDataScienceMachineLearning
0 likes · 29 min read
Comprehensive Guide to Essential NumPy Functions for Array Creation, Manipulation, and Analysis
Satori Komeiji's Programming Classroom
Satori Komeiji's Programming Classroom
Jul 30, 2024 · Fundamentals

Inside Python’s List: C‑Level Implementations of Core Methods

This article walks through the CPython source code that defines list’s built‑in methods—append, insert, pop, index, count, remove, reverse, clear, and copy—explaining how each method is wired into the type object, the underlying C logic, time‑complexity characteristics, and common pitfalls such as reference‑count handling and shallow versus deep copying.

Data StructuresListPython
0 likes · 28 min read
Inside Python’s List: C‑Level Implementations of Core Methods
Efficient Ops
Efficient Ops
Jul 29, 2024 · Operations

Top 19 Essential Linux & Sysadmin Interview Questions with Answers

This article compiles 19 practical Linux, security, networking, and Python interview questions covering command‑line techniques, system monitoring, load‑balancing, HTTP protocols, common vulnerabilities, TCP handshakes, TIME_WAIT optimization, and code snippets to help candidates prepare for sysadmin roles.

LinuxPythonShell
0 likes · 15 min read
Top 19 Essential Linux & Sysadmin Interview Questions with Answers
Python Programming Learning Circle
Python Programming Learning Circle
Jul 29, 2024 · Fundamentals

15 Essential Python Packages You Should Know

This article introduces fifteen of the most useful Python libraries—including Dash, Pygame, Pillow, Requests, and BeautifulSoup—explaining their core features and typical use cases, making it a concise guide for developers seeking to expand their Python toolkit.

DataSciencePythonWebDevelopment
0 likes · 10 min read
15 Essential Python Packages You Should Know
Test Development Learning Exchange
Test Development Learning Exchange
Jul 29, 2024 · Fundamentals

Leveraging Python dataclasses and typing for clean, type‑safe data models

This article explains how Python's dataclasses module, combined with the typing library, can automatically generate boilerplate methods, provide rich type annotations, support optional and union types, enable dictionary serialization, perform runtime checks, and be extended with field metadata for robust, maintainable code.

Code ExamplesPythondataclasses
0 likes · 6 min read
Leveraging Python dataclasses and typing for clean, type‑safe data models
Full-Stack DevOps & Kubernetes
Full-Stack DevOps & Kubernetes
Jul 29, 2024 · Artificial Intelligence

How to Run Real‑Time Voice Cloning with Python: A Step‑by‑Step Guide

This guide introduces the open‑source Realtime Voice Cloning project, explains its key features, and provides detailed installation and usage instructions—including environment setup, dependency installation, cloning the repository, and running the demo tool—to enable real‑time voice transformation with Python.

AIPythonReal-time Audio
0 likes · 5 min read
How to Run Real‑Time Voice Cloning with Python: A Step‑by‑Step Guide
Python Programming Learning Circle
Python Programming Learning Circle
Jul 27, 2024 · Artificial Intelligence

Numpy‑ML: A Pure NumPy Implementation of Machine Learning Algorithms

The Numpy‑ML project, created by UC Berkeley’s David Bourgin, provides a comprehensive pure‑NumPy implementation of over 30 machine‑learning algorithms—including probabilistic models, neural‑network layers, optimizers, and reinforcement‑learning agents—along with extensive data‑preprocessing utilities, all in a single open‑source repository.

AIAlgorithmsNumPy
0 likes · 6 min read
Numpy‑ML: A Pure NumPy Implementation of Machine Learning Algorithms
Python Programming Learning Circle
Python Programming Learning Circle
Jul 25, 2024 · Artificial Intelligence

Skin Color Detection Using OpenCV in Python

This article explains how to implement human skin color detection in Python with OpenCV, covering library installation, basic image operations, and three algorithms based on YCrCb and HSV color spaces, including code examples, parameter choices, and visual results.

OpenCVPythoncolor space
0 likes · 9 min read
Skin Color Detection Using OpenCV in Python
MaGe Linux Operations
MaGe Linux Operations
Jul 25, 2024 · Fundamentals

Unlock Python Multithreading: A Complete Guide to Threads, Locks, and Queues

This article provides a comprehensive overview of Python multithreading, covering basic concepts, the _thread and threading modules, thread creation methods, synchronization primitives like Lock and RLock, thread-local storage, thread pools, and the differences between multithreading and multiprocessing for both CPU‑bound and I/O‑bound workloads.

LockPythonQueue
0 likes · 24 min read
Unlock Python Multithreading: A Complete Guide to Threads, Locks, and Queues
Test Development Learning Exchange
Test Development Learning Exchange
Jul 24, 2024 · Fundamentals

Understanding the Walrus Operator (:=) in Python 3.8

Python 3.8 introduced the walrus operator (:=), a concise assignment expression that allows in-line variable assignment within expressions, and this article explains its purpose, benefits, and provides ten practical code examples illustrating its use in loops, comprehensions, conditionals, and function calls.

PythonPython 3.8assignment expression
0 likes · 5 min read
Understanding the Walrus Operator (:=) in Python 3.8
Python Programming Learning Circle
Python Programming Learning Circle
Jul 24, 2024 · Fundamentals

A Comprehensive Guide to Popular Python IDEs and Editors

This article reviews a wide range of Python IDEs and code editors—including PyCharm, VS Code, Sublime Text, Vim, Emacs, IDLE, and many others—detailing their features, compatibility, advantages, disadvantages, and download links to help developers choose the most suitable environment for their needs.

DevelopmentPythoneditor
0 likes · 12 min read
A Comprehensive Guide to Popular Python IDEs and Editors
Model Perspective
Model Perspective
Jul 23, 2024 · Artificial Intelligence

Building Your Own AI Agent with LangChain: A Hands‑On Guide

This article walks through the author’s experience creating a custom AI agent using LangChain and OpenAI APIs, explains the concepts of AI agents and the ReAct reasoning framework, provides step‑by‑step code, discusses required libraries and APIs, and shares practical tips and challenges encountered.

AI AgentLLMLangChain
0 likes · 16 min read
Building Your Own AI Agent with LangChain: A Hands‑On Guide
Test Development Learning Exchange
Test Development Learning Exchange
Jul 22, 2024 · Backend Development

Python API Testing Examples Using requests, unittest, pytest, and jsonschema

This article provides a series of Python code examples demonstrating how to perform API automation testing tasks—including GET and POST requests, authentication, file uploads, redirects, unit testing with unittest and pytest, response mocking with responses, and response schema validation with jsonschema—offering practical guidance for backend testing.

API testingPythonjsonschema
0 likes · 6 min read
Python API Testing Examples Using requests, unittest, pytest, and jsonschema
Test Development Learning Exchange
Test Development Learning Exchange
Jul 21, 2024 · Fundamentals

10 Python Regular Expression Examples and How to Use Them

This article introduces Python's re module and demonstrates ten practical regular‑expression examples—including basic matching, email extraction, finding multiple patterns, substitution, anchoring, wildcard matching, grouping, repetition, non‑greedy matching, and look‑behind—complete with code snippets and expected outputs.

Pythonre moduleregular expressions
0 likes · 7 min read
10 Python Regular Expression Examples and How to Use Them
Test Development Learning Exchange
Test Development Learning Exchange
Jul 21, 2024 · Fundamentals

Python Keywords: 10 Example Code Snippets

This article introduces Python's essential keywords, explaining their purpose and demonstrating ten practical code examples that cover conditional statements, loops, functions, classes, exception handling, file management, module imports, return values, infinite loops with break, and extended conditional branches.

Pythonfundamentalskeywords
0 likes · 5 min read
Python Keywords: 10 Example Code Snippets
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Jul 20, 2024 · Artificial Intelligence

Beyond RAG: How Mem0 Gives Large Language Models Super Memory for Personalized AI Apps

Mem0 is an open‑source memory‑management middleware for large language models that provides dynamic, context‑aware, and adaptive memory, outperforming traditional Retrieval‑Augmented Generation (RAG) and enabling personalized AI assistants, travel planners, and support agents with concrete Python APIs and examples.

AI agentsLLMMem0
0 likes · 9 min read
Beyond RAG: How Mem0 Gives Large Language Models Super Memory for Personalized AI Apps
Model Perspective
Model Perspective
Jul 19, 2024 · Artificial Intelligence

Can Bayesian Networks Predict Public Opinion Reversals? A Practical Guide

This article explains how Bayesian Network models can be built and applied to forecast public opinion reversals, detailing the network structure, joint probability distribution, inference methods, and a Python implementation using pgmpy with sample data and analysis of key influencing factors.

Bayesian networkPythonpgmpy
0 likes · 10 min read
Can Bayesian Networks Predict Public Opinion Reversals? A Practical Guide
Test Development Learning Exchange
Test Development Learning Exchange
Jul 18, 2024 · Fundamentals

Using functools.partial in Python: Ten Practical Examples

This article introduces Python's functools.partial, explaining how fixing certain function arguments creates new callable functions, and demonstrates ten practical examples ranging from mathematical calculations and file handling to HTTP request wrapping, decorator parameterization, multiprocessing, GUI event binding, logging, data validation, and configuration parsing.

Pythoncode-reusefunctools
0 likes · 7 min read
Using functools.partial in Python: Ten Practical Examples
Python Programming Learning Circle
Python Programming Learning Circle
Jul 18, 2024 · Fundamentals

Guide to Using Python's eval() Function

This article provides a comprehensive guide to Python's eval() function, covering its syntax, parameters, execution process, differences between globals and locals, dynamic versus static execution, common use cases, security risks, and alternatives such as ast.literal_eval() and exec().

Pythoncode evaluationdynamic execution
0 likes · 15 min read
Guide to Using Python's eval() Function
Baidu Geek Talk
Baidu Geek Talk
Jul 17, 2024 · Artificial Intelligence

Tensor Indexing in PaddlePaddle: Concepts, Operations, and Practical Examples

This article explains PaddlePaddle tensor indexing, covering basic slicing, integer and boolean advanced indexing, ellipsis and newaxis usage, assignment in dynamic and static graphs, automatic gradient propagation, and demonstrates practical applications such as semantic segmentation, object detection, and NLP sequence masking.

Advanced IndexingDeep LearningGradient Propagation
0 likes · 25 min read
Tensor Indexing in PaddlePaddle: Concepts, Operations, and Practical Examples
Python Programming Learning Circle
Python Programming Learning Circle
Jul 17, 2024 · Fundamentals

Seven Essential Python Efficiency Tools for Developers

This article introduces seven powerful Python libraries—Pandas, Selenium, Flask, Scrapy, Requests, Faker, and Pillow—explaining their core features, typical use cases, and providing ready‑to‑run code snippets to help developers boost productivity and automate routine tasks.

PythonWeb Scrapingautomation
0 likes · 6 min read
Seven Essential Python Efficiency Tools for Developers
Model Perspective
Model Perspective
Jul 17, 2024 · Fundamentals

10 Proven Python Tricks to Boost Your Coding Efficiency

This article presents ten practical Python techniques—including list comprehensions, generators, standard library usage, third‑party packages, decorators, context managers, built‑in functions, OOP, testing, and refactoring—to help developers write cleaner, faster, and more maintainable code.

Code OptimizationPythonprogramming tips
0 likes · 12 min read
10 Proven Python Tricks to Boost Your Coding Efficiency
MaGe Linux Operations
MaGe Linux Operations
Jul 15, 2024 · Fundamentals

Why Python’s ‘is’ Returns False for Identical Numbers and Other Gotchas

This article explains why Python’s is operator can yield False for seemingly identical integers, how integer caching and code‑block reuse affect object identity, common pitfalls with re.sub’s count parameter, the character‑based behavior of lstrip, and why list multiplication creates shared references.

Pythoninteger cachingis-operator
0 likes · 8 min read
Why Python’s ‘is’ Returns False for Identical Numbers and Other Gotchas
Python Programming Learning Circle
Python Programming Learning Circle
Jul 15, 2024 · Fundamentals

Understanding NumPy Array Memory Layout and Accelerating Image Resizing with Unsafe Python Techniques

This article explains how NumPy stride differences caused a 100× slowdown when resizing images from a pygame Surface, demonstrates how to reinterpret the underlying memory layout using ctypes to achieve a 100× speedup with OpenCV, and discusses the safety implications of such low‑level Python tricks.

NumPyOpenCVPython
0 likes · 19 min read
Understanding NumPy Array Memory Layout and Accelerating Image Resizing with Unsafe Python Techniques
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Jul 15, 2024 · Fundamentals

Open-Source PDF Table Extraction with Camelot: Quick‑Start Guide

This article explains why extracting tables from PDFs is a common bottleneck, introduces the open‑source Camelot library, walks through installing Ghostscript and Camelot, shows a minimal Python script to convert PDFs to CSV, handles a typical runtime error, and demonstrates the companion Excalibur web UI for interactive extraction.

CamelotExcaliburPDF extraction
0 likes · 5 min read
Open-Source PDF Table Extraction with Camelot: Quick‑Start Guide
Test Development Learning Exchange
Test Development Learning Exchange
Jul 14, 2024 · Fundamentals

Using pandas fillna() to Handle Missing Data: 10 Practical Examples

This article introduces pandas' fillna() method and demonstrates ten practical examples—including basic filling, column‑specific values, forward/backward filling, limiting fills, using other DataFrames, functions, conditional fills, dictionaries, and Series—to help developers effectively handle missing data in Python data analysis.

Pythondata cleaningfillna
0 likes · 6 min read
Using pandas fillna() to Handle Missing Data: 10 Practical Examples
Python Crawling & Data Mining
Python Crawling & Data Mining
Jul 14, 2024 · Fundamentals

Why Design Patterns Matter: Master Reusable Solutions in OOP

This article explains what design patterns are, why they are essential for creating reusable and maintainable object‑oriented code, outlines their main categories, learning steps, and provides a Python command‑pattern example along with a guide to a comprehensive Python design‑patterns book.

Behavioral PatternsCreational PatternsDesign Patterns
0 likes · 7 min read
Why Design Patterns Matter: Master Reusable Solutions in OOP
Python Programming Learning Circle
Python Programming Learning Circle
Jul 12, 2024 · Artificial Intelligence

Building a Simple Neural Network from Scratch in Python

This article walks through constructing a basic neural network using only Python and NumPy, explains the underlying concepts such as neurons, training cycles, sigmoid activation, and weight‑adjustment formulas, and provides complete, runnable code with sample inputs and outputs.

Artificial IntelligenceNeural NetworkNumPy
0 likes · 9 min read
Building a Simple Neural Network from Scratch in Python
Python Programming Learning Circle
Python Programming Learning Circle
Jul 11, 2024 · Fundamentals

Critical Review of Python in Excel: Limitations, Use Cases, and Recommendations

The article provides a detailed technical analysis of Microsoft’s preview‑only Python in Excel feature, outlining its current capabilities, major limitations such as lack of VBA replacement, restricted package usage, cloud‑dependency, and workflow friction, while suggesting improvements and alternative approaches for data‑centric users.

AzureExcelJupyter
0 likes · 16 min read
Critical Review of Python in Excel: Limitations, Use Cases, and Recommendations
MaGe Linux Operations
MaGe Linux Operations
Jul 11, 2024 · Fundamentals

Master Python list.sort vs sorted: Tips, Syntax, and Real-World Examples

This guide explains the differences between Python's list.sort method and the sorted function, covering their syntax, parameters, performance nuances, and practical examples such as ascending/descending order, custom key functions, and creating sorted copies without altering the original list.

Code ExamplesData StructuresPython
0 likes · 7 min read
Master Python list.sort vs sorted: Tips, Syntax, and Real-World Examples
Test Development Learning Exchange
Test Development Learning Exchange
Jul 11, 2024 · Fundamentals

10 Handy Python Regular Expression Scripts for Common Tasks

This article presents ten concise Python regular‑expression scripts that demonstrate how to validate email addresses, extract URLs, replace numbers, assess password strength, split strings, match dates, strip HTML tags, capitalize words, find phone numbers, and replace specific characters, empowering developers with practical pattern‑matching techniques.

PythonScriptingprogramming
0 likes · 5 min read
10 Handy Python Regular Expression Scripts for Common Tasks
Python Programming Learning Circle
Python Programming Learning Circle
Jul 10, 2024 · Fundamentals

Automating PowerPoint with Python: win32com, python-pptx, and seaborn

This tutorial demonstrates how to use Python libraries such as win32com and python-pptx to automate PowerPoint creation, manipulation, and styling—including copying templates, adding slides, text boxes, tables, charts, shapes, and images—while also covering seaborn installation and basic data‑visualization examples that can be embedded into PPT files.

PPT automationPythonSeaborn
0 likes · 24 min read
Automating PowerPoint with Python: win32com, python-pptx, and seaborn
Python Programming Learning Circle
Python Programming Learning Circle
Jul 10, 2024 · Big Data

Using the TransBigData Python Library for Mobile Signaling Data Processing, Analysis, and Visualization

This article introduces the open‑source Python package TransBigData, explains how to install it, and demonstrates step‑by‑step methods for reading mobile signaling data, preprocessing, identifying stays and moves, extracting home and work locations, and visualizing individual activity patterns using Jupyter notebooks.

Big DataGeospatialPython
0 likes · 8 min read
Using the TransBigData Python Library for Mobile Signaling Data Processing, Analysis, and Visualization
php Courses
php Courses
Jul 10, 2024 · Backend Development

Nginx Fundamentals and Multi‑Language Simple Static Server Implementations

This course covers Nginx installation, process control, reload, configuration loading, static service, HTTP and gRPC reverse proxy, load balancing, and demonstrates building simple static servers in Go, Python, PHP, C, and C++ to deepen understanding of Nginx’s core principles.

GolangNGINXPython
0 likes · 2 min read
Nginx Fundamentals and Multi‑Language Simple Static Server Implementations
Model Perspective
Model Perspective
Jul 10, 2024 · Fundamentals

Boosting Graduate Employment Quality Assessment with Fuzzy Hierarchical Analysis

This article introduces the fuzzy comprehensive evaluation method, focusing on the fuzzy hierarchical analysis technique, explains its mathematical foundations and step-by-step procedure, and demonstrates its application through a case study evaluating employment quality of university graduates, complemented by Python code for weight calculation.

Employment QualityPythonfuzzy evaluation
0 likes · 8 min read
Boosting Graduate Employment Quality Assessment with Fuzzy Hierarchical Analysis
Open Source Tech Hub
Open Source Tech Hub
Jul 9, 2024 · Databases

How to Deploy and Use SQLite-Web: A Web‑Based SQLite Database Manager

This guide introduces SQLite‑Web, a Python‑based web interface for SQLite, explains how to build and run its Docker image, details the command‑line options for configuring ports, hosts, authentication, and other features, and shows how to manage, query, and export SQLite databases through the browser.

DockerPythonSQLite
0 likes · 6 min read
How to Deploy and Use SQLite-Web: A Web‑Based SQLite Database Manager
Python Programming Learning Circle
Python Programming Learning Circle
Jul 9, 2024 · Artificial Intelligence

Principal Component Analysis (PCA) with Python: Theory and Practical Example on the Breast Cancer Dataset

This article explains the fundamentals of Principal Component Analysis (PCA), demonstrates its application on the Breast Cancer Wisconsin dataset using Python code, and shows how scaling, PCA transformation, scree plots, and feature-group comparisons can reveal data structure and improve predictive modeling.

Breast Cancer DatasetData visualizationPCA
0 likes · 11 min read
Principal Component Analysis (PCA) with Python: Theory and Practical Example on the Breast Cancer Dataset
IT Services Circle
IT Services Circle
Jul 9, 2024 · Artificial Intelligence

Comparative Study of Classification Algorithms and Calibration Using Synthetic Data

This article presents a comprehensive case study that explains classification principles, shows the key formulas for logistic regression and SVM, and provides a full Python implementation that generates synthetic data, trains multiple classifiers, calibrates them, and visualizes calibration curves and probability histograms.

CalibrationPythonclassification
0 likes · 6 min read
Comparative Study of Classification Algorithms and Calibration Using Synthetic Data
Python Programming Learning Circle
Python Programming Learning Circle
Jul 8, 2024 · Fundamentals

Python Variable Usage, Naming Conventions, and Common Operations

This article teaches Python developers how to write cleaner, more elegant code by mastering variable unpacking, underscore placeholders, type annotations, PEP 8 naming rules, numeric literals, floating‑point precision handling with Decimal, boolean arithmetic tricks, and a wide range of string manipulation techniques, all illustrated with practical code examples.

DecimalPythonString Manipulation
0 likes · 10 min read
Python Variable Usage, Naming Conventions, and Common Operations
21CTO
21CTO
Jul 7, 2024 · Artificial Intelligence

How to Build a Secure Local LLM Chatbot with Ollama, Python, and ChromaDB

This tutorial walks you through creating a privacy‑preserving, locally hosted large language model chatbot using Ollama, Python 3, and ChromaDB, covering RAG fundamentals, GPU selection, environment setup, and full source code for a Flask‑based application.

ChromaDBLLMOllama
0 likes · 19 min read
How to Build a Secure Local LLM Chatbot with Ollama, Python, and ChromaDB
Test Development Learning Exchange
Test Development Learning Exchange
Jul 6, 2024 · Operations

10 Practical Python Automation Scripts for File Management, Web Scraping, Data Cleaning, and More

This article presents ten useful Python automation scripts covering file renaming, web page downloading, data cleaning, scheduled tasks, email sending, testing, database backup, log analysis, file compression, and document generation, each with clear explanations and ready‑to‑run code examples.

CodeExamplesOperationsPython
0 likes · 7 min read
10 Practical Python Automation Scripts for File Management, Web Scraping, Data Cleaning, and More
Python Programming Learning Circle
Python Programming Learning Circle
Jul 6, 2024 · Fundamentals

Python Code Optimization Techniques and Performance Tips

This article presents Python code optimization principles, including avoiding premature optimization, reducing global variable usage, minimizing attribute access, eliminating unnecessary abstractions, optimizing loops, leveraging numba JIT, and selecting appropriate data structures, accompanied by performance comparisons and code examples.

Python
0 likes · 13 min read
Python Code Optimization Techniques and Performance Tips
Python Programming Learning Circle
Python Programming Learning Circle
Jul 3, 2024 · Operations

17 Practical Python Scripts for Automating Everyday Tasks

This article presents 17 versatile Python scripts that automate common tasks such as file management, web scraping, email handling, Excel processing, database interaction, system administration, and more, offering code examples and explanations to help developers and analysts improve productivity.

PythonScriptingWeb Scraping
0 likes · 28 min read
17 Practical Python Scripts for Automating Everyday Tasks
21CTO
21CTO
Jul 2, 2024 · Backend Development

FastAPI vs Flask: Why FastAPI Outperforms Flask for Modern APIs

This article compares FastAPI and Flask, highlighting FastAPI's speed, developer experience, and standards support, while providing practical migration guidance, code examples, configuration tips, async handling, dependency injection, testing, deployment, and documentation differences for Python web developers.

ASGIFastAPIFlask
0 likes · 25 min read
FastAPI vs Flask: Why FastAPI Outperforms Flask for Modern APIs
21CTO
21CTO
Jul 1, 2024 · Fundamentals

Explore Positron: The Next‑Gen VS Code‑Based IDE for R and Python

Positron, the new beta IDE from Posit built on Visual Studio Code, offers a ready‑to‑use, cross‑platform environment for R and Python with integrated data exploration tools, seamless language switching, and easy extension management via OpenVSX, while still being an early‑stage project.

Data ScienceIDEOpenVSX
0 likes · 5 min read
Explore Positron: The Next‑Gen VS Code‑Based IDE for R and Python
Python Programming Learning Circle
Python Programming Learning Circle
Jul 1, 2024 · Fundamentals

Building a Python GUI to Visualize World Bank GDP Data with Tkinter, pandas_datareader, and Matplotlib

This tutorial demonstrates how to create a desktop GUI using Python's Tkinter library to fetch per‑capita GDP data from the World Bank via pandas_datareader, process it with pandas, and display interactive line charts with Matplotlib, providing a user‑friendly interface for non‑technical users.

Data visualizationPythonpandas_datareader
0 likes · 7 min read
Building a Python GUI to Visualize World Bank GDP Data with Tkinter, pandas_datareader, and Matplotlib
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 1, 2024 · Backend Development

Resolving Data Contamination in Multithreaded Security Testing by Redesigning Class Attributes in Python

This article explains how using a shared class attribute to store open ports in a Python security‑testing framework can cause data contamination across threads, demonstrates the problem with example code, and presents three solutions—reinitializing the attribute, using contextvars, and employing threading.local—to ensure thread‑local isolation and accurate port scanning.

Class AttributesContextVarPython
0 likes · 10 min read
Resolving Data Contamination in Multithreaded Security Testing by Redesigning Class Attributes in Python
21CTO
21CTO
Jun 30, 2024 · Artificial Intelligence

Which Programming Language Is Best for AI? A Comparative Guide

This article surveys the most suitable programming languages for artificial intelligence, examining Python, R, Java, LISP, Prolog, C++, Haskell, JavaScript, and Julia, and outlines their strengths, ecosystem support, and use cases to help developers choose the right tool for AI projects.

AIC++JavaScript
0 likes · 15 min read
Which Programming Language Is Best for AI? A Comparative Guide
JavaEdge
JavaEdge
Jun 28, 2024 · Artificial Intelligence

Designing Agent Personality and Emotion Handling with LangChain Prompt Templates

This article explains how to craft system prompts that give an AI agent a distinct personality and emotional behavior, shows how to implement an emotion‑detection chain, compares ChatPromptTemplate.from_messages with from_template, and integrates the agent into a FastAPI service with full code examples.

AI AgentEmotion DetectionFastAPI
0 likes · 13 min read
Designing Agent Personality and Emotion Handling with LangChain Prompt Templates