Command line-based diary app in Python
Level: Real-World
Project Brief
Your task for this project is to create a command line-based diary program.
Project Instructions
Write a program that:
Asks the user to enter the notes of today:
The user can type in a line, press Enter, type in the next line, press Enter, and so on.
If the user types in “exit” and presses Enter, the program exits.
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.



