In this assignment you will be required to use both files and database.
Your goal is to create application that satisfies the following requirements:
1. Application is written in a single Python script called assignment2.py
2. Application, upon start reads a file named config.txt that contains a single line with the name of the database file
3. Application gracefully handles error situations such as:
a. Missing config file/Incorrect name of the config file
b. Missing database file/Incorrect name of the file
4. Application allows user to add and remove items to the ToDo list
5. Item should have the following attributes:
a. ID (Primary key)
b. Title (text, not null)
6. Application should provide menu (console) allowing user to perform following operations:
a. Show all items sorted by ID
b. Delete selected item by ID
c. Add new item
d. Exit the application
Students succeed in their courses by connecting and communicating with an expert until they receive help on their questions
Consult our trusted tutors.