Question: It must be written in Python, please test the pode before answearing. DESCRIPTION: In this assignment, you will have a chance to try your hand

It must be written in Python, please test the pode before answearing.

It must be written in Python, please test the pode before answearing.DESCRIPTION: In this assignment, you will have a chance to try yourhand with the Python programming language. Your job will be to developa small database server. Ordinarily, this would be a significant undertaking. However,with Python, this will be surprisingly straightforward and requires a relatively modestamount of code. Your DB system will work as follows: 1. You

DESCRIPTION: In this assignment, you will have a chance to try your hand with the Python programming language. Your job will be to develop a small database server. Ordinarily, this would be a significant undertaking. However, with Python, this will be surprisingly straightforward and requires a relatively modest amount of code. Your DB system will work as follows: 1. You will construct a client/server application. In your case, only one client program will access the DB, so you do not have to worry about issues like concurrency or thread control It's just a one-to-one form of communication. Python provides a SocketServer class in its standard libraries. You can use this to get started, along with the sample code provided in the Python docs (you can use the 9999 port for the DB server). In addition to listening for client requests, the server program must first load the database and provide access to the data. The data base will be loaded from a simple, plain text disk file called data.txt. In your case, the database will hold customer records. A customer record will be a tuple with the following format 2. name, age, address, phone# To record this informatio n on disk, you will store one record per line, and separate each field with a bar symbol CT). A simple 3 record database might look like this John 43 123 Apple street|514 428-3452 Katyal 26149 Queen Mary Road1514 234-7654 Ahmadl91|1888 Pepper Lanel

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!