Question: Q2: Write a program in python to read file1.txt and try to extract all the email addresses and phone number you will find in this

Q2: Write a program in python to read file1.txt and try to extract all the email addresses and phone number you will find in this file. Requirements:

- Write a module naming py_find, which have py_find.emails, and py_find.phones to extract the information form text by using regular expression.

- Using Handle error in main program to handle file not found and other exceptions.

- Need to download the file1.txt from lab3.

- Need to show the exception when there is no exist file.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!