Python Workshop

Introduction to Python

This workshop includes both slide decks for presentation and Jupyter notebooks for hands-on practice with Google Colab and Gemini. The notebooks include example code and self-grading exercises.

Slide Decks

  • Part 1: Colab
  • Part 2: Objects
  • Part 3: Lists
  • Part 4: Dictionaries
  • Part 5: Flow Control
  • Part 6: Functions
  • Part 7: Libraries
  • Part 8: Intro to Pandas
  • Part 9: More Pandas
  • Part 10: Intro to Visualization
  • Part 11: More Visualization
  • Part 12: Plotly
  • Part 13: Simulation
  • Part 14: Goal Seek
  • Part 15: Neural Networks

Hands-On Exercises

Workshop Exercise Notebook

This single notebook contains ~35 self-graded exercises organized by workshop parts (1-15). Each exercise:

  • Reinforces concepts from the slides
  • Includes self-grading code with feedback
  • Has Gemini hints for harder problems
  • Can be completed during workshop sessions

Features: - ✓ Aligned with slide content - ✓ Minimal explanations (slides teach, notebook practices) - ✓ Progressive difficulty - ✓ Works standalone in Google Colab

Additional Resources

Here are some additional online resources for learning Python.

Quick References

  • Python Tutor - Visualize code execution step-by-step
  • Python Cheat Sheet - Concise syntax reference
  • Real Python’s Python Tricks - Short, digestible articles
  • Python Graph Gallery - Simple plotting examples with matplotlib

Online Practice Platforms

  • HackerRank Python Domain - Basic problems like “Hello World”, simple math, string manipulation
  • Codewars 8 kyu Python Problems - Easiest level problems
  • Codewars 7 kyu Python Problems - Slightly more challenging
  • LeetCode Easy Python Problems - Filter by Python and “Easy” difficulty

Great Books

  • Python for Data Analysis (3rd Edition) by Wes McKinney - The definitive guide to data manipulation with Python, pandas, and NumPy
  • Automate the Boring Stuff with Python - Practical programming for total beginners

More Notebooks for Learning Python

  • Learn to Code Python
  • 101 Exercises
  • Python Programming Exercises (100+ exercises)
  • 100 Days of Python Course
  • 100+ Python Programming Exercises Extended
  • Learn Python 3 Interactive Notebooks
  • Tiny Python Projects
  • Practical Python Programming Course
  • A Gallery of Interesting Jupyter Notebooks - Curated collection of educational notebooks

© Copyright 2025, Kerry Back

 

Built with Quarto