A simple command-line-based personal diary app written in Python. This app allows users to write, save, view, and delete their diary entries in a text file.
- Add a New Entry: Write and save your thoughts or notes.
- View All Entries: Display all saved diary entries.
- Delete an Entry: Remove a specific entry by its number.
- Exit: Exit the application safely.
- Python 3.x installed on your system. You can download it from python.org.
-
Clone the repository:
git clone https://github.com/alebora/personaldiary.git
-
Navigate to the project directory:
cd personaldiary -
Run the Python script:
python main.py
-
Run the application:
- Open a terminal in the project directory.
- Run the
main.pyfile with Python.
-
Follow the on-screen menu:
- Choose an option by typing the corresponding number.
- Enter your diary entry, view entries, or delete entries as needed.
Personal Diary App
1. Add a new entry
2. View all entries
3. Delete an entry
4. Exit
Choose an option (1-4): 1
Write your entry: My first entry!:)
⋆。°✩Entry added successfully!✩°。⋆
Personal Diary App
1. Add a new entry
2. View all entries
3. Delete an entry
4. Exit
Choose an option (1-4): 2
Your Diary Entries:
1. My first entry!:)
Personal Diary App
1. Add a new entry
2. View all entries
3. Delete an entry
4. Exit
Choose an option (1-4): 3
Your Diary Entries:
1. My first entry!:)
Enter the entry number to delete: 1
Entry deleted successfully!
Personal Diary App
1. Add a new entry
2. View all entries
3. Delete an entry
4. Exit
Choose an option (1-4): 2
No entries found.
Personal Diary App
1. Add a new entry
2. View all entries
3. Delete an entry
4. Exit
Choose an option (1-4): 4
Exiting the diary app. ByeBye!