Skip to content

alebora/PersonalDiary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

PersonalDiary

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.

Features

  • 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.

Getting Started

Prerequisites

  • Python 3.x installed on your system. You can download it from python.org.

Installation

  1. Clone the repository:

    git clone https://github.com/alebora/personaldiary.git
  2. Navigate to the project directory:

    cd personaldiary
  3. Run the Python script:

    python main.py

Usage

  1. Run the application:

    • Open a terminal in the project directory.
    • Run the main.py file with Python.
  2. Follow the on-screen menu:

    • Choose an option by typing the corresponding number.
    • Enter your diary entry, view entries, or delete entries as needed.

Example

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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages