> ## Documentation Index
> Fetch the complete documentation index at: https://python-training.ipoint-labs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Lab 32: Daily journal file

> Hands-on lab · 20 min · Module 13

Append journal entries to a text file with `with open()`, read them back line by line, and handle a file that doesn't exist.

[Open Lab 32 in the IP Lab Portal](https://labs.intellectualpoint.com/labs/pcep-lab-32-daily-journal)

## What you will practice

* Write and append with `with open()`
* Read the file line by line
* Handle a missing file

## Before you start

Time
20 minutes
*Hands-on in Python 3*

Where
IP Lab Portal
*labs.intellectualpoint.com*

Module
Module 13: File handling
*PCEP-30-03*

* In the IP Lab Portal, open **Lab 32 - Daily journal file**.
* In class, this lab comes right after the **Lesson 4 recap** slide in [Module 13 core material](https://python-training.ipoint-labs.com/pcep/module-13/material.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.