- Tony Regalado
- Automate the process of looking through phone numbers and email addresses and edit the list of phone numbers so they fit a specific format.
- Given a document potential-contacts, find and collect all email addresses and phone numbers.
- Phone numbers may be in various formats.
- (xxx) yyy-zzzz, yyy-zzzz, xxx-yyy-zzzz, etc.
- phone numbers with missing area code should presume 206
- phone numbers should be stored in xxx-yyy-zzzz format.
- Once emails and phone numbers are found they should be stored in two separate documents.
- The information should be sorted in ascending order.
- Duplicate entries are not allowed.
-
$
poetry new automation
- The ‘phone_numbers.txt’ and ‘emails.txt’ files will be verified by an automated system. So make sure to match the naming/formatting requirements exactly.
- [o] It turns out some of the contacts are already in our system.
- [o] Compare your collected data against existing-contacts.txt and only include info NOT already in system.
- [o] Handle phone numbers with extensions. E.g. (123) 456-789x012
- Use
poetry
to createautomation
project. - Use the folder created by Poetry as the root of your project's git repository
- Refer to Lab Submission Instructions for detailed instructions.
- Kevin Henry & Anthony Williams.