Python

TIOBE Index

Table of Contents

Getting Started

Install all the following Visual Studio Code
Git
Get Python
VS Code Python Extension
VS Code Python Extension Pack

Git

Using Github

Python Resources

3.12.0 Documentation (python.org)
The Python Tutorial — Python 3.12.0 documentation
The Python Language Reference — Python 3.12.0 documentation
The Python Standard Library — Python 3.12.0 documentation
PEP 0 – Index of Python Enhancement Proposals (PEPs) | peps.python.org
PyPI · The Python Package Index

Overview

What is it

octoverse.github.com

Setup

  1. Installing Python
  2. Setup environemnt

Env

Conventions

Basics

  1. Hello World
  2. Calculator
  3. Functions
  1. Conditionals
  1. Groups
  1. Loops
  1. Library importing
  1. Random
  1. Arguments
  1. FIle IO
  1. Error Handling & Exceptions

Virtual Environments

Debugging

Testing

Popular Libraries & Frameworks

Adtl Topics

Comprehensions

Lambda Functions

Decorators

Context Managers

Generators & Iterators

Type Hints

Async/Await (Asynchronous Programming)

Common Patterns

Performance & Optimization

Module Organization

Threading (Multithreading)

Regex (Regular Expressions)

OOP (Object-Oriented Programming)

example example-inheritance * Classes and objects * Attributes (data) and methods (functions) * Constructor: init() * self parameter (reference to instance) * Instance vs class variables * Inheritance (subclasses extend parent classes) * super() to call parent methods * Method overriding * Private variables (prefix with _) * Encapsulation and abstraction * Polymorphism (objects of different classes respond to same method name) * Abstract base classes (ABC) for interfaces * Dunder methods for custom behavior

math

Data

Working with Data Files

Data Structures for Data Handling

Data Validation & Cleaning

Data Transformation

Working with Databases

Data Analysis Basics

Data Visualization

Advanced topics

Web Scraping

Scientific Computing

AI

Other

New since Python 3.10

Python 3.10

Python 3.11

Python 3.12

Python 3.13

Special Notes

Variables

External Resources

HarvardX edX Courses
CS50 Python Course
Python 3 Tutorial - Learn Python 3 (geeksforgeeks.org)
Introduction To Python – GeeksforGeeks
Get Started Tutorial for Python in Visual Studio Code
Python for beginners - Training | Microsoft Learn
Python Tutorial (w3schools.com)
Learn Python - Free Interactive Python Tutorial