Python Help
Hey all, I am in serious need of help, I am failing my first class since I took Algebra 2 in the 7th Grade.
I am a complete programming idiot and I am desperately needing help with my 2 python programming finals.
This is the first:
For this assignment you will re-work your simple simple contact manager application. This application will track personal information about the user's friends and acquaintances. The user will be able to enter information for new contacts and also lookup information for a contact.
For this assignment you will create a simple class hierarchy. You will create an inheritance relationship between two classes -- a Friend class and a Person class - Friend will inherit Person.
Your Person class will have the following attributes:
first_name
last_name
phone_number
Your Friend
email
birth_date
Both your Person class and your Friend class will have a get_info method.
For the Person class, the get_info method will return a string with the full name and phone number of the person.
For the Friend class, the get_info method will return a string with the full name, phone number, email address, and birth date.
The application will present a main menu to the user that will allow the user to add a contact, lookup a contact by name, or exit the application.
When the user chooses to add a contact, the application will ask the user if they want to add a regular person or a friend. If the user wants to add a new regular person contact then the application will ask for the first name, last, name and phone number for that person. If the user wants to add a new friend contact then the application will ask the user for the first name, last name, phone number, email address, and birth date.
When the user chooses to lookup a contact by name, the application will ask the user for the last name, and then the application will display the full information for all contacts with that last name.
(Attached is a code that took me 4 days to do)
the second is also based on the code
The names of all contacts (Last, First) should be displayed in the Contact listbox.
When a name is selected, and the "Display Contact" button is pressed, the full contact information (Full name, phone number for 'person', add email and b-day for 'friend') should be displayed in the "Result" Label. If no person is selected, the button should not do anything.
When a Last name is entered in the "Last Name" box, and the Search button is pressed, the program should find the contact with that last name and display the full contact information in the Result label. If no name is found, "Not found" should be displayed in the Result label.
To add a new contact, the user should fill out at least First Name, Last Name, and Phone #. If the new contact is a friend, the Friend checkbox should be checked, and email and birthday should be included. After this information is added, when the user clicks the "Add Contact" button a new contact is added to the contact list. After the Add Contact Button is pressed, the new contact entry fields should be cleared by the program.
BONUS: 10 extra credit points if you add a "Remove" button that removes selected contacts from the contact list.
I'll just put this out there, first person to really help me out gets 20 Lockbox keys (25 if you get me the bonus points) LOL
I know there's some programming gurus out there and if any one can help I'd greatly appreciate it
I am a complete programming idiot and I am desperately needing help with my 2 python programming finals.
This is the first:
For this assignment you will re-work your simple simple contact manager application. This application will track personal information about the user's friends and acquaintances. The user will be able to enter information for new contacts and also lookup information for a contact.
For this assignment you will create a simple class hierarchy. You will create an inheritance relationship between two classes -- a Friend class and a Person class - Friend will inherit Person.
Your Person class will have the following attributes:
first_name
last_name
phone_number
Your Friend
birth_date
Both your Person class and your Friend class will have a get_info method.
For the Person class, the get_info method will return a string with the full name and phone number of the person.
For the Friend class, the get_info method will return a string with the full name, phone number, email address, and birth date.
The application will present a main menu to the user that will allow the user to add a contact, lookup a contact by name, or exit the application.
When the user chooses to add a contact, the application will ask the user if they want to add a regular person or a friend. If the user wants to add a new regular person contact then the application will ask for the first name, last, name and phone number for that person. If the user wants to add a new friend contact then the application will ask the user for the first name, last name, phone number, email address, and birth date.
When the user chooses to lookup a contact by name, the application will ask the user for the last name, and then the application will display the full information for all contacts with that last name.
(Attached is a code that took me 4 days to do)
the second is also based on the code
The names of all contacts (Last, First) should be displayed in the Contact listbox.
When a name is selected, and the "Display Contact" button is pressed, the full contact information (Full name, phone number for 'person', add email and b-day for 'friend') should be displayed in the "Result" Label. If no person is selected, the button should not do anything.
When a Last name is entered in the "Last Name" box, and the Search button is pressed, the program should find the contact with that last name and display the full contact information in the Result label. If no name is found, "Not found" should be displayed in the Result label.
To add a new contact, the user should fill out at least First Name, Last Name, and Phone #. If the new contact is a friend, the Friend checkbox should be checked, and email and birthday should be included. After this information is added, when the user clicks the "Add Contact" button a new contact is added to the contact list. After the Add Contact Button is pressed, the new contact entry fields should be cleared by the program.
BONUS: 10 extra credit points if you add a "Remove" button that removes selected contacts from the contact list.
I'll just put this out there, first person to really help me out gets 20 Lockbox keys (25 if you get me the bonus points) LOL
I know there's some programming gurus out there and if any one can help I'd greatly appreciate it