Class 17, Friday, February 23

Knowing what you know

Speak to Chiara — Ask questions, provide answers — Do not waste your time

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

Looking backward now – I see the future is bright – Because I learned so much


Look both ways


Agenda


Examples


Test logistics


Chrestomathics


Development and translation


How Python works


Values and types


str


range


list


for loops

for item in sequence :

   statement1

   ...

   statementn

here


Producing values


Functions and methods


Library


Manual CSV processing (suggest use url.get_dataset() and url.get_and_parse_dataset())


Errors


Gotchas

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

To do