Skip to content

Files

Latest commit

 

History

History

Lesson 3

Hear Me Code Lesson 3

What you'll learn:

  • Reading data from a text file
  • Reading data from a spreadsheet
  • Why dictionaries are useful for storing information in a structured way

Just a few practical examples:

  • Reading data from a text file and turning it into a string
  • Reading data from a text file and turning it into a list
  • Reading data from a spreadsheet and looping over its contents to use the data
  • Using dictionaries to store information in a structure like a phonebook

Examples in real projects:

Code Samples:

Exercises:

Vocabulary

Concepts Learned:

  • File handling
  • Dictionaries

Keywords learned:

  • with
  • as
  • None

Functions learned:

  • open()

File Methods learned:

  • .read()
  • .write()

Dictionary Methods learned:

  • .get()
  • .keys()
  • .items()