Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create an application that allows you to keep a digital diary. A diary is composed of entries, where each entry corresponds to the information you

Create an application that allows you to keep a digital diary. A diary is composed of entries, where each entry corresponds to the information you wanted to write during a day. Your application should handle multiple diaries as multiple people can use your application and each of these people has a different diary; each of these diaries should be stored in memory in a file. The program should display an initial menu where it asks the user what they want to do. The options are:
Create a diary.
Open a diary.
a. Read the entire diary.
b. Read the entry for a specific day.
c. Add an entry to the diary.
Exit.
At the beginning, there may already be diaries that the application should be aware of; all existing diaries will be in a folder called "diaries" located in the same place as your Python (.py) file. From your code, you should obtain this location using the os library. At the end of the program, you should write each of the diaries created by each user into this folder, with the file name being the name of the diary owner.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts International Edition

Authors: David M. Kroenke

6th Edition International Edition

0133098222, 978-0133098228

More Books

Students also viewed these Databases questions

Question

use and understand the formulas in this chapter.

Answered: 1 week ago