Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions