Reading text files

You will be introduced to text files in this lesson. The focus will be on reading text files, and how the data from a text file can be used within a program. You will be stepped through the key methods that are used for reading text files in Python, before you complete two text file challenges.

Introductory Quiz

This quiz will help you to check any previous learning on this topic, and re-cap anything you may have forgotten. Once you have completed this, click ‘Close Quiz’ and then ‘Next’ below.

Video

Click on the play button to start the video. If your teacher asks you to pause the video and look at the worksheet you should:

  • Click "Close Video"
  • Click "Next" to view the activity

Your video will re-appear on the next page, and will stay paused in the right place.

Worksheet

These slides will take you through some tasks for the lesson. If you need to re-play the video, click the ‘Resume Video’ icon. Once you have finished all the tasks, click ‘Next’ below.

Final Quiz

This quiz is a great way for you to test your learning from this lesson.

If you would like to re-cap any of the lesson, or repeat any exercise, click ‘Back’ below.

Lesson Complete

You’ve now completed today’s lesson - well done!

If you would like to complete other lessons from your schedule, click ‘Schedule’ below. If you would like to see more lessons from this subject, click ‘Subject’ below.