Search for tag: "dot"

Lesson 16.4 Range-Based For-Loops

Strings, lists, and tuples are not the only iterable types. In this video we introduce the range function, which creates another iterable value. This is going to allow us to do several things that we…

From  Hannah Lee on October 19th, 2020 18 plays

Lesson 16.1 The For-Loop

In this video we introduce a new control-structure: the for-loop. This control structure is specifically designed for processing iterable types like strings, tuples, and lists.

From  Hannah Lee on October 19th, 2020 15 plays

Lesson 15.4 List Assignment

The big advantage that lists have over tuples is that they are mutable.In this video we show how to write assignment statements that modify the contents of a list.

From  Hannah Lee on October 10th, 2020 13 plays

Zoom Oct. 1. Objects

In this session we use the Python visualizer to help us better understand objects, a new type of data. For many students this is the first big difficulty jump in this course.This class is going to…

From  Hannah Lee on October 2nd, 2020 5 plays

Lesson 12.4 Functions in Memory

We know what happens when we call a function. But as we show in this video, Python also does something very important when we define a function. It has to store the definition somewhere.

From  Hannah Lee on October 2nd, 2020 10 plays

Lesson 11.6 Attribute Invariants

When you work on Assignment 3, you will discover that the color objects have some significant restrictions on how they can be used. These restrictions are called attribute invariants, and they are…

From  Hannah Lee on October 2nd, 2020 7 plays

Lesson 11.5 Object Attributes

Objects are these folders that contain a portfolio of variables. These variables are called attributes. In thie video we talk about how we can access these attributes, or even change them.

From  Hannah Lee on October 2nd, 2020 5 plays

Lesson 5.3 Function Modules

In the previous video, we wrote a function definition in the interactive shell. In this video, we write it in a module. We show how this changes things when you call the function.

From  Hannah Lee on September 11th, 2020 6 plays

Lesson 4.2 Code Editors

Working on modules will require a new type of program: the code editor. In this video we discuss why we prefer Atom Editor and how you should use it in this course.

From  Hannah Lee on September 11th, 2020 12 plays

Lesson 4.4 Modules vs Scripts

At this point you are wondering what is the difference between a module and script, since they both end in .py. This is an excellent question. But as this video shows, the answer may not be what you…

From  Hannah Lee on September 9th, 2020 7 plays

Lesson 4.3 Module Structure

In this video we take a closer look at module files. We show what types of things we can put into a module file, and what their purpose is. In addition, after this video should have a better idea of…

From  Hannah Lee on September 9th, 2020 10 plays

Lesson 4.1 Modules

In this video we talk about what a module really is, and why it is so important for us to have them in this course. We show how to make our own modules and how to import them. In this video it will…

From  Hannah Lee on September 9th, 2020 15 plays

Lesson 3.5 Advanced Import Statements (OPTIONAL)

This is a completely optional video for people who are interested in all of the different ways that you can import a module in Python. However, it is a tad advanced for a beginning programmer. If you…

From  Hannah Lee on September 9th, 2020 4 plays

Lesson 0.3 Python Scripts

Python scripts are files containing pre-written Python code. You can run a Python script even if you do not understand the code inside of it. In this video we show you how to do exactly that.

From  Hannah Lee on September 4th, 2020 9 plays

Patrick Singleton 2020 REU final presentation

Zoom Recording ID: 97214601225 UUID: fKT+tB9xS9G0Vwu20ZfE7Q== Meeting Time: 2020-08-06T16:51:44Z

From  James Overhiser on August 12th, 2020 4 plays