Real Python
  • Start Here
  • Learn Python
    Python Tutorials →
    In-depth articles and video courses
    Learning Paths →
    Guided study plans for accelerated learning
    Quizzes & Exercises →
    Check your learning progress
    Browse Topics →
    Focus on a specific area or skill level
    Community Chat →
    Learn with other Pythonistas
    Office Hours →
    Live Q&A calls with Python experts
    Podcast →
    Hear what’s new in the world of Python
    Books →
    Round out your knowledge and learn offline
    Reference →
    Concise definitions for common Python terms
    Code Mentor →Beta
    Personalized code assistance & learning tools
    Unlock All Content →
  • More
    Learner Stories Python Newsletter Python Job Board Meet the Team Become a Tutorial Writer Become a Video Instructor
  • Search
/
  • Join
  • Sign‑In

Reading and Writing Files in Python (Quiz)

Darren Jones
Reading and Writing Files in Python Darren Jones 05:30
Recommended Tutorial Ask a Question
  • Contents
  • Discussion

Become a Member to take the quiz.

Become a Member to join the conversation.

Course Contents

Overview
90%
  • Reading and Writing Files in Python: Overview 00:27
  • Opening and Closing Files in Python 01:37
  • Reading From a File 03:09
  • Writing to a File 06:17
  • Appending to a File 01:27
  • File Locations and Paths 05:05
  • What Is a File? 02:05
  • Examining File Contents 09:17
  • Reading and Writing Files in Python (Quiz) 05:30
  • Reading and Writing Files in Python: Summary 00:59

© 2012–2025 Real Python ⋅ Privacy Policy