Computers and Technology

Create a program that a user can use to manage the primary email address and phone number for a contact in python.
specifications:
- for the view and del commands, display an error message if the user enters an invalid contact number.
- the view command should display all contact information as shown above.
- use the contacts. csv file to store the data for the program.
- when you start the program, it should read the contacts from the csv file.
- when you add or delete a contact, the change should be saved to the csv file immediately. that way, no changes are lost, even if the program crashes later.
heres is how it should look:
contact manager
command menu
list - display all contacts
view - view a contact
add - add a contact
del - delete a contact
exit - exit program
command: add
name: alice carroll
email: alice@wonderland. com
phone: 352-555-9876
alice carroll was added.
command: list
1. guido van rossum
2. eric idle
3. lizard duck
4. morris feline
5. alice carroll
command: view
number: 1
name: guido van rossum
email: guido@python. org
phone: +31 0474 33 88 26
command: exit
bye!

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 20:10, yqui8767
Assume the existence of a bankaccount class. define a derived class, savingsaccount that contains two instance variables: the first a double, named interestrate, and the second an integer named interesttype. the value of the interesttype variable can be 1 for simple interest and 2 for compound interest. there is also a constructor that accepts two parameters: a double that is used to initialize the interestrate variable, and a string that you may assume will contain either "simple", or "compound", and which should be used to initialize the interesttype variable appropriately. there should also be a pair of functions getinterestrate and getinteresttype that return the values of the corresponding data members (as double and int respectively).
Answers: 2
image
Computers and Technology, 22.06.2019 22:30, MoneyMike42
Alex’s family members live in different parts of the world. they would like to discuss the wedding plans of one of their distant relatives. however, alex wants all the family members to talk to each other simultaneously so that they can make decisions quickly. which mode of internet communication should they use? a. blog b. email c. wiki d. message board e. instant messaging
Answers: 2
image
Computers and Technology, 23.06.2019 16:00, natasniebow
Kenny works with an it company. his company is about to launch new software in the market. he has to ensure that this new software is functional and meets all of the quality standards set up at the planning stage. which job profile is kenny likely to have? kenny is likely to have the job profile of a blank .
Answers: 2
image
Computers and Technology, 24.06.2019 17:30, bxbykay1
Looking at the electroscope, describe how you can cause the two leaves at the bottom to repel each other and stay that way
Answers: 3
Do you know the correct answer?
Create a program that a user can use to manage the primary email address and phone number for a cont...

Questions in other subjects:

Konu
History, 03.11.2019 06:31
Konu
World Languages, 03.11.2019 06:31
Konu
Mathematics, 03.11.2019 06:31