Skip to content

Introduction to Python: A Guided Beginner Course

Small steps. Useful code. Growing confidence.

Welcome to Introduction to Python. Learn to read, run, change, and explain small Python programs, one guided notebook at a time.

No programming experience needed. Bring your curiosity. Mistakes are part of learning.

Start your first lesson Get set up in 5 minutes

Beginner-friendly About 12 guided hours Learn at your pace

welcome.ipynb
In [1]:
name = "Ama"
hours = 12
print(f"Hi {name}, {hours} hours to Python!")

What will this print? Make a guess, then run it.

Out:Hi Ama, 12 hours to Python!
Every lesson works like this: predict, run, then explain.

A friendly place to begin

  1. Read and predict

    Take a small example. Think about what it will do before running it.

  2. Run and explore

    Open the notebook in Binder, change one value, and notice what happens.

  3. Test and explain

    Compare your result with your prediction. Explain what you learned in your own words.

Your notebook is your practice space

Read lessons and copy examples here. Use each lesson’s Run in Binder button to write and run Python in your browser, with no account needed. Save a downloaded copy of your work before closing Binder. See other ways to practice.

Your learning path

Start at 00 and work through the lessons in order. The early lessons build confidence with values and decisions; later lessons bring those ideas together in a small, guided project.

Values and decisions Logic, loops and data Functions to project

Module 11 is a light look at where Python can go next. The final project stays small and uses the core skills you have practiced. Read the course map for the full progression and learning outcomes.

Help is part of learning

Notebook basics · Troubleshooting · Using AI responsibly · Project expectations

These open educational resources are available for instructors to reuse and adapt. Teaching guide · Licensing and attribution

Grading guidance · Mid-course check-in · Optional peer learning · Optional stretch prompts

Instructors can adapt these supports to replace existing practice or reflection, not add assignments. Stretch prompts are never required for full credit.

This author-maintained OER is not an official university course or credit-bearing offering. Its OER learning outcomes describe the materials, not institutional catalog requirements. Author affiliation does not imply institutional endorsement. See licensing and attribution for reuse terms and exclusions.