csiro-data-school / python

Lesson webpage:
https://csiro-data-school.github.io/python
Other
3 stars 6 forks source link

Reading from files content #63

Closed KerensaMcElroy closed 4 years ago

KerensaMcElroy commented 5 years ago

Content can be found here:

https://csiro-data-school.github.io/python-files/10-files/index.html (from memory, this lesson worked really well)

and here:

https://csiro-data-school.github.io/python-adv/10-files/index.html

NOTE: I would strongly recommend taking the first approach, and not going into details about opening / closing files and context managers, instead just introducing the file opening recipe, and not providing any alternatives

KerensaMcElroy commented 5 years ago

This episode is cool in that it shows how to work with the lines of content in a file. If used, might need to be substantially modified for this context though:

https://csiro-data-school.github.io/python-files/11-processing/index.html

The files episode also has to come after loops.

jaredraynes commented 4 years ago

Have added to repo