Reading and Writing Files in Python Quiz

Interactive Quiz ⋅ 8 Questions
By James Mertz

In this quiz, you’ll be tested on different topics that are covered in the article “Reading and Writing Files in Python”. These topics include:

  • file paths
  • opening files properly
  • reading files

Note: The paths presented here are “unixy” meaning that we’ll be using and looking for the forward slash / instead of the Microsoft backward slash \.

The quiz contains 8 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!

« Browse All Python Quizzes