This application is a case study for the development of a GUI with Python 3.
The example is a contact management application. It implements a few basic operations on the command line, which are also offered by the GUI.
Registers a new contact with the given information.
-
Usage:
AC Name EmailAddress PhoneNumber
-
Output:
-
Success:
Contact successfully created.
-
Failure:
The contact already exists.
-
Changes the email address of a contact.
-
Usage:
ECE Name NewEmailAddress
-
Output:
-
Success:
Contact successfully updated.
-
Failure:
There is no such contact. Invalid email.
-
Changes the phone number of a contact.
-
Usage:
ECP Name NewPhoneNumber
-
Output:
-
Success:
The contact was successfully updated.
-
Failure:
There is no such contact. Invalid phone number.
-
Lists all contacts, showing the names.
-
Usage:
LC
-
Output:
-
Success:
Name Name ...
-
Failure:
No contacts available.
-
Shows all the information about a contact.
-
Usage: SC Name
-
Output:
-
Success:
Name EmailAddress PhoneNumber
-
Failure:
No such contact.
-
Deletes the contact with the given name.
-
Usage:
DC Name
-
Output:
-
Success:
Contact deleted.
-
Failure:
No such contact.
-
List contacts whose names match the given pattern.
-
Usage:
SC PartialName
-
Output:
-
Success with results:
Name Name ...
-
Success without results:
No results.
-
Failure:
No contacts available.
-
AED DCT UAL © 2020