@bitter pond
For safety reasons we do not allow files with certain file extensions.
The Python program below converts a contact list to printing labels.
Ch6 homework starter.pyDownload Ch6 homework starter.pyOpen this document with ReadSpeaker docReader
The starting contact list: contact_list.txtDownload contact_list.txtOpen this document with ReadSpeaker docReader
Please run the program to see how the label file is created.You must modify this program to:
- Add the Country, Phone number and the email to every entry of the the contact list - insert in file following the ZIP.
- Include the country, email and phone number in a separate lines of the label
- Use try/except to catch file operations errors.
- Extra credit: make printing of email and phone number on label optional (require user input).
Items 1,2,3 - 5 points each
Item 4 - 5 pointsSubmission: Runnable Python code, screen shot of execution, output file. I DONT UNDERSTAND WHAT IM DOING WRONG
You can share your code using triple backticks like this:
```
YOUR CODE
```
For longer scripts use Hastebin or GitHub Gists and share the link here
- Ch6_homework_starter.py
- contact_list.txt