Skip to main content
Category
Technologies

Python Tutorial

Keep up to date with the latest news, techniques, and resources for Python programming. Our tutorials are full of practical walk throughs & use cases you can use to upskill.
Other technologies:
AI AgentsAI NewsArtificial IntelligenceAWSAzureBusiness IntelligenceChatGPTDatabricksdbtDockerExcelGenerative AIGitGoogle Cloud PlatformHugging FaceJavaJuliaKafkaKubernetesLarge Language ModelsMongoDBMySQLNoSQLOpenAIPostgreSQLPower BIPySparkRScalaSnowflakeSpreadsheetsSQLSQLiteTableau
GroupTraining 2 or more people?Try DataCamp for Business
All posts
Python

Pyright Guide: Fast Static Type Checking for Python Code

Learn how to install and use Pyright for static type checking in Python. This guide covers configuration, IDE integration, troubleshooting, and when to choose Pyright over Mypy.
Khalid Abdelaty's photo

Khalid Abdelaty

January 30, 2026

Python

How to Check Python Version: Windows, macOS, and Linux

Learn how to check your Python version in the terminal, scripts, and virtual environments. Understand common issues and best practices for Windows, macOS, and Linux.
Allan Ouko's photo

Allan Ouko

January 28, 2026

Machine Learning

How to Normalize Data: A Complete Guide With Examples

Stop vanishing gradients and biased models. Learn how to normalize data using min-max and z-score in Scikit-learn to improve machine learning models.
Josep Ferrer's photo

Josep Ferrer

January 27, 2026

Python

How to Read a File Line by Line in Python

Learn practical patterns for working with text files, logs, and large datasets in Python.
Oluseye Jeremiah's photo

Oluseye Jeremiah

January 24, 2026

Python

Python Write to File: How to Work With Text, CSV, and JSON Files Safely

Learn how to write to files in Python using built-in tools, common patterns, and best practices for real-world applications.
Oluseye Jeremiah's photo

Oluseye Jeremiah

January 21, 2026

Python

Ensemble Learning in Python: A Hands-On Guide to Random Forest and XGBoost

Learn ensemble learning with Python. This hands-on tutorial covers bagging vs boosting, Random Forest, and XGBoost with code examples on a real dataset.
Bex Tuychiev's photo

Bex Tuychiev

January 21, 2026

Python

Python Frozenset: Why It Exists and When You Need It

Discover how frozensets bring immutability and hashability to Python collections. Learn when to choose frozensets over regular sets.
Oluseye Jeremiah's photo

Oluseye Jeremiah

January 13, 2026

Data Science

Precision vs Recall: The Essential Guide for Machine Learning

Accuracy isn't enough. Learn the difference between precision and recall, understand the trade-off, and choose the right metric for your model.
Mark Pedigo's photo

Mark Pedigo

January 8, 2026

Python

Python Shebang: Syntax, Best Practices, and Modern Alternatives

Master Python shebangs to build executable scripts, maintain environment portability, and apply industry-standard best practices.
Allan Ouko's photo

Allan Ouko

January 5, 2026

Python

Python map() Function: A Complete Guide

Master Python's map() function with practical examples. Learn syntax, lazy evaluation, and when to use map() vs. list comprehensions for memory-efficient code.

Rajesh Kumar

December 10, 2025

Python

Python REPL: A Hands-On Guide to Interactive Coding

Learn how Python’s REPL lets you run code interactively for testing, debugging, and learning. Discover essential commands, customization options, and advanced alternatives.
Allan Ouko's photo

Allan Ouko

December 9, 2025