Stanford Root

Schedule

Stanford Root

Schedule

CS 41

Hap.py Code: The Python Programming Language

UNITS:2
GRADING:Satisfactory/No Credit
LEVEL:Undergrad
GER:—

This course is about the fundamentals and contemporary usage of the Python programming language. The primary focus is on developing best practices in writing Python and exploring the extensible and unique parts of the Python language. Topics include: Pythonic conventions, data structures such as list comprehensions, anonymous functions, iterables, powerful built-ins (e.g. map, filter, zip), and Python libraries. For the last few weeks, students will work with course staff to develop their own significant Python project. Prerequisite: CS 106B, CS 106X, or equivalent.

Syllabus for selected term:
View Spring 2027 Syllabus

Sections

1 Term
Lecture 1Open
ID: 25839
0 / 999 enrolled
DAYS:TBD
TIME:TBD
LOCATION:TBD
2units
Discussion 1Open
ID: 25838
0 / 999 enrolled
DAYS:TBD
TIME:TBD
LOCATION:TBD
2units

CS 41: Hap.py Code: The Python Programming Language

2 units · Satisfactory/No Credit

This course is about the fundamentals and contemporary usage of the Python programming language. The primary focus is on developing best practices in writing Python and exploring the extensible and unique parts of the Python language. Topics include: Pythonic conventions, data structures such as list comprehensions, anonymous functions, iterables, powerful built-ins (e.g. map, filter, zip), and Python libraries. For the last few weeks, students will work with course staff to develop their own significant Python project. Prerequisite: CS106B, CS106X, or equivalent.

Offered in Spring 2027 at Stanford University.

Spring 2027 sections

  • Discussion — TBA TBA (Undergrad)
  • Lecture — TBA TBA (Undergrad)

More CS courses

  • CS 24: Minds and Machines (LINGUIST 35, PHIL 99, PSYCH 35, SYMSYS 1, SYMSYS 200)
  • CS 25: Transformers United V6 (SYMSYS 25)
  • CS 25N: Big Ideas in Cryptography
  • CS 31N: Counterfactuals: The Science of What Ifs?
  • CS 33: AI Changes Everything: Intentions & Consequences
  • CS 40: Cloud Infrastructure and Scalable Application Deployment
  • CS 42SI: From Player to Maker: 2D Engine-Based Game Development
  • CS 44N: Great Ideas in Graphics
  • CS 46: Working with Data: Delights and Doubts
  • CS 47: Cross-Platform Mobile Development
  • CS 47N: Datathletics: Diving into Data Analytics and Stanford Sports
  • CS 50N: Can Computer Systems Keep Secrets?

All CS courses · All departments