logo

Online Python

Python How-To

Python How-To Guide
String Manipulation
Split and Join Strings
Remove Whitespace
Find and Replace Text
Check String Content
Format Strings
Handle Unicode and Special Characters
List Operations
Sort Lists
Remove Duplicates
Filter Lists
Combine Lists
Use List Comprehensions
Work with Nested Lists
Use enumerate() and zip()
Dictionary Operations
Merge Dictionaries
Sort Dictionaries
Filter Dictionaries
Handle Missing Keys
Use Dictionary Comprehensions
Convert Between Lists and Dictionaries
File Operations
Read Text Files
Write to Files
Work with CSV Files
Handle File Paths
Work with JSON Files
Handle Binary Files
Use Context Managers
Date and Time
Get Current Date/Time
Format Dates
Calculate Date Differences
Parse Date Strings
Handle Timezones
Work with Timestamps
Error Handling
Handle Exceptions
Create Custom Exceptions
Debug Code
Use Logging
Implement Retry Logic
Functions and Modules
Write Functions
Use *args and **kwargs
Create Decorators
Use Generators
Work with Modules and Packages
Create Virtual Environments
Data Processing
Work with Regular Expressions
Parse XML and HTML
Handle API Requests
Work with Databases
Process Large Files
Best Practices
Structure Your Code
Write Clean Code
Optimize Performance
Write Unit Tests
Document Your Code
Use Type Hints

Track Your Learning Progress

Sign in to bookmark tutorials and keep track of your learning journey.

Your progress is saved automatically as you read.

Stay Updated with Our Latest Tutorials

Subscribe to our newsletter to receive tutorials, quizzes, and programming tips directly in your inbox.

logo

Online Python

Learn Python programming through interactive tutorials, quizzes and live coding environments. Master programming with hands-on practice and real-world examples.

Try Playground Take Quiz

Tutorials

  • Python Programming
  • Python How To
  • Pandas
  • NumPy
  • View All Tutorials →

Quizzes

  • Beginner Level
  • Fundamentals Review
  • Intermediate Level
  • Core Concepts
  • Interview Prep
  • Quick Assessment
  • View All Quizzes →

Exercises

  • Working with Variables
  • Working with Numbers
  • Text and Strings
  • If Statements
  • For Loops
  • Creating Lists
  • View All Exercises →

Company

  • About Us
  • Contact
  • Submit Feedback

Legal

  • Terms of Service
  • Privacy Policy

© 2025 Online Python Learning Platform. All rights reserved.