This assignment will give you practise w/user and program interfaces, and choosing/building useful data structures. You will maintain a flat-file database, allowing users to query, delete a entry, create an entry. You’ll also, for some practise, submit a make file. Write a command-line utility called to maintain a flat-file database of album information. You will allow the user to view album info, add a new entry, or delete an entry, where each entry is an album w/all of the track information, as follows: †You may assume that all names are entered exactly. That is, do not worry about inconsistencies in spelling or capitalisation. E.g., , , and are 3 different groups for this assignment. If no argument is supplied, a bad argument is supplied, or multiple arguments, print a usage message and exit. Album information will be stored in a flat file w/the format shown in : To simplify things, the filename (location of the DB) will be stored in an exported environment variable, . You will do this in Python3. Submit the following files:

This assignment focuses on practicing with user and program interfaces and selecting/building suitable data structures. The goal is to create a command-line utility for managing a flat-file database of album information. The utility should allow users to perform various operations such as querying, adding, and deleting album entries. Additionally, you will need to submit a make file for this assignment.

To start, you should write a command-line utility in Python called [UTILITY_NAME] that interacts with the flat-file database of album information. The user should be able to view album information, add new entries, or delete existing entries. Each entry in the database represents an album and includes detailed track information.

It is important to note that all album names are assumed to be entered exactly as they appear in the database. Therefore, you do not need to worry about inconsistencies in spelling or capitalization. For example, “The Beatles,” “the beatles,” and “THE BEATLES” should be treated as three different groups for this assignment.

If the user does not supply any arguments, provides an invalid argument, or provides multiple arguments, the utility should print a usage message and exit gracefully.

The album information will be stored in a flat file with a specific format. Refer to the provided example or documentation for details on the file format. To simplify the implementation, the filename or the location of the database file will be stored in an exported environment variable called [ENV_VARIABLE_NAME].

In summary, your task is to create a Python3-based command-line utility for managing a flat-file database of album information. The utility should support operations such as querying, adding, and deleting album entries. Make sure to follow the mentioned specifications and submit the following files for evaluation:

1. [UTILITY_NAME]: The main Python script that implements the command-line utility.
2. [MAKEFILE_NAME]: A make file that compiles or sets up the utility or any other necessary tasks.

Please let me know if you need any further clarification or if you have any questions regarding this assignment.

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadline.


Click Here to Make an Order Click Here to Hire a Writer