Class 18, Wednesday, October 10

Knowing what you know

Though the past is past – It is still an augury – Of future tidings


Look both ways


Agenda


Note


Examples


Test logistics


Chrestomathics


Development and translation


How Python works


Values and types


str


range


list


for loops

for item in sequence :

   statement1

   statement2

   ...

   statementn

In the above, iterator variable item takes on each of the values of sequence in turn. For each of those values, statement1, statement2, ..., and statementn are repeated.


Producing values


Functions and methods


Library


Web processing


Errors


Gotchas

  • Not converting a string to a number using int() or float() or to a Boolean value using bool().

To do