
Worked Example: Exercise 6.5
Worked Example: Exercise 6.5
30 Syys 20168min

7.1 Reading Files
We look at how text and lines are represented in files, how we open a file and write a loop to read through all the lines in the file.
30 Syys 20167min

7.2 Processing Data in Files
We look at patterns for reading and processing the data in files. We learn how to check for nonexistent files, and how we process each line within the file.
30 Syys 201613min

Worked Example: Exercise 7.1
Worked Example: Exercise 7.1
30 Syys 20169min

8.1 Creating and Using Lists
We learn how to put data into lists, take data out of the list and write simple loops to examine the elements of a list.
29 Syys 201610min

8.2 Manipulating Lists
We learn about list slicing, list searching, and using pre-defined functions with lists.
29 Syys 20169min

8.3 Strings and Lists
We learn how to parse strings pull sub-strings out of a string using the split() function.
29 Syys 20168min

Worked Exercise: Chapter 8
Strings, Files, Lists and the Guardian Pattern.
29 Syys 201611min



















