|
PARADIM Summer School 2021 Materials Growth and Design - Frustrated and
Quantum Magnetism: Lectures on effective collaboration (3 of 3)
|
|
While generators are coroutines, the communication only goes one way: from the child to the calling parent. In this video we show how to reverse this communication, passing down information from the…
Content Categories
Instructional Recordings Creation Date
December 04, 2020 Creator 1 First Name
Walker Creator 1 Last Name
White Creator 1 Role
Faculty or Staff Member Creator 1 NetID
wmw2 Language
English Searchable
Yes Searchable On
Cornell Web Search
|
|
|
|
In this video we show how to use the error type to give you more control over a try-except statement. You can chose to recover from some errors, while completely ignoring other errors.
Content Categories
Instructional Recordings Creation Date
November 12, 2020 Creator 1 First Name
Walker Creator 1 Last Name
White Creator 1 Role
Faculty or Staff Member Creator 1 NetID
wmw2 Language
English Searchable
Yes Searchable On
Cornell Web Search
|
|
Tuples are very, very similar to strings. In this video we explore this similarity, showing that they support many of the same operations and methods.
Content Categories
Instructional Recordings Creation Date
October 10, 2020 Creator 1 First Name
Walker Creator 1 Last Name
White Creator 1 Role
Faculty or Staff Member Creator 1 NetID
wmw2 Language
English Searchable
Yes Searchable On
Cornell Web Search
|
|
While there are no more conditional statements, Python does support a conditional expression. In this video we introduce an expression that evalues to something different, depending upon the boolean…
Content Categories
Instructional Recordings Creation Date
September 23, 2020 Creator 1 First Name
Walker Creator 1 Last Name
White Creator 1 Role
Faculty or Staff Member Creator 1 NetID
wmw2 Language
English Searchable
Yes Searchable On
Cornell Web Search
|
|
In this video we introduce the final conditional statement, the if-elif-else statement. This allows you to chose between an arbitrary number of options.
Content Categories
Instructional Recordings Creation Date
September 23, 2020 Creator 1 First Name
Walker Creator 1 Last Name
White Creator 1 Role
Faculty or Staff Member Creator 1 NetID
wmw2 Language
English Searchable
Yes Searchable On
Cornell Web Search
|
|
The easiest functions to use in Python are those that are built into it. They are listed on the Python Documentation page. In this video we examine some of these and show the syntax for how to use…
Content Categories
Instructional Recordings Creation Date
September 09, 2020 Creator 1 First Name
Walker Creator 1 Last Name
White Creator 1 Role
Faculty or Staff Member Creator 1 NetID
wmw2 Language
English Searchable
Yes Searchable On
Cornell Web Search
|
|
Now that we have assignment statements, it is time to move beyond the simple calculator model of Python. As we see in this video, the order in which we type Python commands matters.
Content Categories
Instructional Recordings Creation Date
September 07, 2020 Creator 1 First Name
Walker Creator 1 Last Name
White Creator 1 Role
Faculty or Staff Member Creator 1 NetID
wmw2 Language
English Searchable
Yes Searchable On
Cornell Web Search
|
|
Now that we have some idea of what a variable is, it is time to start creating them. We do that with assignment statements, which are the subject of this video.
Content Categories
Instructional Recordings Creation Date
September 07, 2020 Creator 1 First Name
Walker Creator 1 Last Name
White Creator 1 Role
Faculty or Staff Member Creator 1 NetID
wmw2 Language
English Searchable
Yes Searchable On
Cornell Web Search
|
|
Variables are tricky things because they are often invisible. To better understand them, we need to build a mental model of how they work. That is the purpose of this video.
Content Categories
Instructional Recordings Creation Date
September 05, 2020 Creator 1 First Name
Walker Creator 1 Last Name
White Creator 1 Role
Faculty or Staff Member Creator 1 NetID
wmw2 Language
English Searchable
Yes Searchable On
Cornell Web Search
|
|
The third basic type is the bool type. It only has two values: True and False. However, as we shall soon see, this type is one of the most important for computer programming.
Content Categories
Instructional Recordings Creation Date
September 04, 2020 Creator 1 First Name
Walker Creator 1 Last Name
White Creator 1 Role
Faculty or Staff Member Creator 1 NetID
wmw2 Language
English Searchable
Yes Searchable On
Cornell Web Search
|
|
Before we get started with Python we need to define some basic terminology. Those math-like formula that we type into Python are called expressions. Python then uses the process of evalation to turn…
Content Categories
Instructional Recordings Creation Date
September 04, 2020 Creator 1 First Name
Walker Creator 1 Last Name
White Creator 1 Role
Faculty or Staff Member Creator 1 NetID
wmw2 Language
English Searchable
Yes Searchable On
Cornell Web Search
|
|
|