Python Class

Lessons

  • Beginner Tutorial
  • Fundamentals
    • Syntax
      • Expressions
      • Statements
      • Variables
    • Flow Control
      • Conditional Statements
      • Functions
      • While loops
      • For Loops
      • Program Flow
      • String formatting: Part 1
      • String formatting: Part 2
      • Reading Code
    • Data Types
      • Objects
      • Numeric Types
      • Containers
        • Lists
        • Dictionaries
        • Strings
    • Files
      • File I/O
      • Paths
      • File System Operations
  • In Depth
    • CLI
    • Imports
    • Magic methods
    • Structuring Python Projects
    • Functions
    • Object Oriented Programming
  • Data
    • Functional Programming
  • Misc
    • Dates and Times
    • Web APIs
    • PyPet Battle
  • Invent Games Book
    • Chapter 3: Guess the Number
    • Dragon Realm

Practices

  • Problem Solving
  • Introduction to Tests
    • Pytest Tests
  • Using a Debugger
  • Data Inspection

Tools

  • asdf
  • Git
  • Homebrew
  • IPython
  • Mac Dev Env for Python
  • Poetry
  • pyenv
  • Pytest
  • Python Shell
  • Replit
  • Screencasts
  • Terminal
  • VS Code
  • Windows Dev Env for Python

Reference

  • Recommended Resources
  • Glossary
  • Dictionaries
  • Lists
  • Script Template

Exercises

  • Program Flow Exercises
  • List Exercises
  • List String Exercises
  • Flashcards Project
  • Adventure Game
    • Part 1: The game loop
    • Part 2: Go places
    • Part 3: Prettify
    • Part 4: Examine items
    • Part 5: Look around
    • Part 6: Take things
    • Part 7: Show inventory
    • Part 8: Drop things
    • Part 9: Refactoring
    • Part 10: Buy things
    • Part 11: Test things
    • Part 12: Read things
    • Part 13: Health
    • Part 14: Dragons
    • Part 15: Eat & Drink
    • Graduation
    • Reference

Admin

  • Orphaned Terms
  • repository
  • suggest edit
Contents
  • Books and tutorials
    • Learn Python Programming
    • Python Practice Book
    • Python for you and me
    • A Whirlwind Tour of Python
  • Exercises and Practice
    • Codewars

Recommended Resources

Contents

  • Books and tutorials
    • Learn Python Programming
    • Python Practice Book
    • Python for you and me
    • A Whirlwind Tour of Python
  • Exercises and Practice
    • Codewars

Recommended Resources#

Table of Contents
  • Books and tutorials

    • Learn Python Programming

    • Python Practice Book

    • Python for you and me

    • A Whirlwind Tour of Python

  • Exercises and Practice

    • Codewars

Books and tutorials#

Learn Python Programming#

programiz.com: Learn Python Programming

../_images/Learn_Python_Programming.png

A tutorial site with an easy to navigate interface and lessons with nice looking code samples and optional videos. The site also features a reference section as well as a library of examples.

Warning

Lots of annoying banner and pop-up ads. Not recommended without an ad blocker.

Section recommendations

  • Introduction

    • Skip Getting Started

  • Flow Control

  • Functions

    • Skip Modules and Package

  • Datatypes

Python Practice Book#

Python Practice Book

../_images/Python_Practice_Book.png

A Python tutorial with lot of examples.

Section recommendations

  • 1. Getting Started

  • 2. Working with Data

Python for you and me#

Python for you and me

../_images/Python_for_you_and_me.png

A nicely formatted online book to learn Python targeted at beginners with plenty of code samples.

Section recommendations

  • The Beginning

  • Variables and Datatypes

  • Operators and expressions

  • If-else , the control flow

  • Looping

  • Data Structures

  • Strings

  • Functions

A Whirlwind Tour of Python#

  • A Whirlwind Tour of Python

../_images/A_Whirlwind_Tour_of_Python.png

A concise and clearly written online book with nice looking code samples.

Section recommendations

  • How to Run Python Code

  • A Quick Tour of Python Language Syntax

  • Basic Python Semantics: Variables and Objects

  • Basic Python Semantics: Operators

  • Built-In Types: Simple Values

  • Built-In Data Structures

  • Control Flow

  • Defining and Using Functions

Exercises and Practice#

Codewars#

Codewars

A platform that helps you learn, train, and improve your coding skills by solving programming tasks of many types and difficulty levels.