Question: I am attempting to write a python script that finds regex expressions to find emails and urls contained within a large .raw file. Afterward, I

I am attempting to write a python script that finds regex expressions to find emails and urls contained within a large .raw file.

Afterward, I am to return the count, email, and urls into a prettytable.

I believe I am reading the file using "with open(, 'r') as file:" and I believe I am adding to the dictionaries correctly.

My question is how do I add the count for both the emails and urls into the prettytable.

Thank you!

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!