Daily Python Projects

Daily Python Projects

Command line-based diary app in Python

Level: Real-World

Ardit Sulce's avatar
Ardit Sulce
Mar 20, 2024
∙ Paid

Project Brief

Your task for this project is to create a command line-based diary program.

Project Instructions

  1. Write a program that:

    1. Asks the user to enter the notes of today:

    2. The user can type in a line, press Enter, type in the next line, press Enter, and so on.

    3. If the user types in “exit” and presses Enter, the program exits.

    4. When the program exits, the notes are saved in a text file. The name of the text file should be today’s date (e.g., 2024-03-20.txt).

Project Expected Output

Keep reading with a 7-day free trial

Subscribe to Daily Python Projects to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Ardit Sulce · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture