Try it free

← All courses

Bakersfield College COMP B10

47 lectures with notes

Every lecture with its full transcript and chapters, and one search across all 47 lectures.

Python (Fall 2026) Module 14-11: A14 Explanation Part 1

5 Nov 2026

Build a Python song playlist with a Song class, list operations, and a repeatable menu, using the fruit stand example as a guide.

Python (Fall 2026) Module 14-12: A14 Explanation Part 2

5 Nov 2026

Refactor Python fruit-list operations into functions, then practice reconstructing the code and checking it against the assignment requirements.

Python (Fall 2026) Module 14-3: Class Methods

3 Nov 2026

Python's `self` lets a car's `driveCar` method update that instance's mileage without affecting other cars.

Python (Fall 2026) Module 14-4: Initializing a Class

3 Nov 2026

Python's `__init__` method sets up each new object with its own properties and data.

Python (Fall 2026) Module 14-7: Using Classes in a Program

3 Nov 2026

A Python car inventory shows how lists organize class instances for buying, listing, and selling objects.

Python (Fall 2026) Module 13-1: Introducing Recursion

29 Oct 2026

Recursion is a function calling itself until an end case tells the nested calls to unwind.

Python (Fall 2026) Module 13-2: Writing Recursive Code

29 Oct 2026

A recursive function needs a base case to stop descending and allow its calls to unwind.

Python (Fall 2026) Module 13-3: Recursion in Practice

29 Oct 2026

Recursion handles nested lists of unknown depth by processing each item and recursively descending into sublists.

Python (Fall 2026) Module 13-4: Recursive Tree Traversal

29 Oct 2026

A recursive Python function can count every leaf item in arbitrarily nested lists by adding each sublist’s returned count.

Python (Fall 2026) Module 12-7: File Challenge 1

28 Oct 2026

Build a Python crawler that extracts links from HTML and limits traversal to bmoseley.com.

Python (Fall 2026) Module 12-8: File Challenge 2

28 Oct 2026

Use `ATM_data.txt` to load and save Python ATM balances across program sessions, including when the file does not yet exist.

Python (Fall 2026) Module 12-1: Introducing File Usage in Python

22 Oct 2026

Python files preserve data between program runs, but the mode passed to `open()` determines whether existing contents are kept or erased.

Python (Fall 2026) Module 12-2: Reading and Writing Files

22 Oct 2026

Python file methods read text sequentially, while opening mode determines how writing affects existing data.

Python (Fall 2026) Module 11-1: Iteration and Collections

20 Oct 2026

Use Python `for` loops, multiple assignment, and `enumerate()` to process collections and number their items.

Python (Fall 2026) Module 9-2: Creating a Sorting Algorithm

13 Oct 2026

Selection sort repeatedly extracts the smallest remaining list value and appends it to a sorted output list.

Python (Fall 2026) Module 9-4: Algorithms and Solving A8 Part 1

13 Oct 2026

Build the email extractor by breaking validation into small steps, starting with candidate detection and boundary-based string cleanup.

Python (Fall 2026) Module 9-5: Algorithms and Solving A8 Part 2

13 Oct 2026

A reusable Python helper cleans both halves of an email address before `cleanEmail` rejoins and returns them.

Python (Fall 2026) Module 9-7: S9 Explanation

13 Oct 2026

Rank three Moon-phase passages by measurable features such as word length, vocabulary variety, sentence length, and punctuation.

Python (Fall 2026) Module 8-2: String Methods for Manipulation

8 Oct 2026

Python's `split()` and `join()` turn strings into lists and back, enabling tasks like counting words and changing separators.

Python (Fall 2026) Module 8-4: String Slicing

8 Oct 2026

Python strings support character-by-character cleanup and flexible slicing, including the useful reverse operation `[::-1]`.

Python (Fall 2026) Module 8-7: A8 Explanation

8 Oct 2026

Build an email extractor by splitting text into words, finding @ signs, and cleaning punctuation from candidate addresses.

Python (Fall 2026) Module 7-6: Fun With Colors

6 Oct 2026

Use ANSI escape sequences and small Python helper functions to add reusable color to command-line output.

Python (Fall 2026) Module 7-7: Variable Scope and Globals

6 Oct 2026

Python functions can read globals, but use `global` to reassign them only when you accept tighter coupling.

Python (Fall 2026) Module 7-1: Reviewing the ATM Assignment

1 Oct 2026

Build a two-account Python ATM with deposits, balance checks, and withdrawals that prevent overdrafts.

Python (Fall 2026) Module 7-4: Parameters and Return Values

1 Oct 2026

Python parameters pass information into functions, while return values send results back to the caller.

Python (Fall 2026) Module 6-7: Introducing for Loops

29 Sep 2026

Python for loops process each sequence item once, with range controlling numeric start, stop, and step.

Python (Fall 2026) Module 6-8: A6 Explanation

29 Sep 2026

Build a Python ATM simulator that handles deposits, withdrawals, account balances, and validated menu input.

Python (Fall 2026) Module 6-5: Loops in Practice Guessing Game

24 Sep 2026

Build a replayable Python guessing game with nested loops, configurable difficulty, and guess tracking.

Python (Fall 2026) Module 5-9: Command Line UI Tricks

22 Sep 2026

Use Python string formatting and fixed-width text to make command-line programs clearer and easier to use.

Python (Fall 2026) Module 5-10: A5 Explanation

22 Sep 2026

Build a menu-driven Python calculator with R/T choices, shape-specific formulas, and feedback for invalid choices.

Python (Fall 2026) Module 5-2: Introducing Control Structures

17 Sep 2026

Python if statements use Boolean conditions and indentation to choose whether a code block runs.

Python (Fall 2026) Module 4-1: Introduction and Type Conversions

15 Sep 2026

Python input is text by default, so convert values to compatible types before calculations.

Python (Fall 2026) Module 4-2: Operators and Expressions

15 Sep 2026

Python operators determine how expressions calculate values, return remainders, and follow PEMDAS precedence.

Python (Fall 2026) Module 4-4: A4 Explanation

15 Sep 2026

A comments-first Python workflow for building a useful calculator with user input, numeric conversion, a formula, and formatted output.

Python (Fall 2026) Module 3-1: Introducing Lists

3 Sep 2026

Python lists preserve item order, use zero-based indexes, and can be changed after creation.

Python (Fall 2026) Module 3-5: List Methods

3 Sep 2026

Python list methods can inspect, edit, and reorder lists, with most edits changing the original list in place.

Python (Fall 2026) Module 2-7: Transforming Strings

1 Sep 2026

Use Python string methods such as `strip()` and method chaining to clean and transform text efficiently.

Python (Fall 2026) Module 2-11: A2 Explanation (Using online-python.com)

1 Sep 2026

Build a Mad Libs program by collecting and cleaning inputs, then inserting them into a multiline Python string.

Python (Fall 2026) Module 2-12: A2 Explanation (using Pycharm)

1 Sep 2026

Build a Python Mad Libs program by collecting five words and inserting them into a formatted story.

Python (Spring 2026) Module 2-1: About Python

27 Aug 2026

Python's readable syntax and interpreted workflow make it accessible for learning, while compiled languages can run more efficiently at large scale.

Python (Fall 2026) Module 2-2: Procedural Programming and Variables

27 Aug 2026

Python runs procedural code line by line, while variables store changeable values under case-sensitive names.

Python (Fall 2026) Module 2-3: Data Types

27 Aug 2026

Python strings, integers, floats, and Booleans each behave differently, so choose appropriate types and name variables clearly.

Python (Fall 2026) Module 2-4: Understanding Functions

27 Aug 2026

Learn to distinguish Python functions that perform actions from those that return values, and how to use their results.

Python (Fall 2026) Module 2-5: S1 Sandbox Challenge

27 Aug 2026

Use Python turtle to draw shapes and see how variables and integer-converted input make their dimensions adjustable.

Python (Spring 2026) Module 1-3: Syllabus Review

25 Aug 2026

Bill Moseley’s Python course prioritizes regular practice, communication, and learning through unlimited assignment revisions.

Python (Spring 2026) Module 1-4: AI Policy and Use

25 Aug 2026

Use AI to support Python learning, not to skip the practice needed to understand and write code.

Python (Spring 2026) Module 1-6: Completing A1 Hello World

25 Aug 2026

Create and submit a1.py by printing "hello world" in PyCharm and uploading the file to Canvas.

Keep the lectures you learn from

Paste a video, playlist, or channel URL to get transcripts, AI summaries with clickable timestamps, and search across everything.

Get started free