Question: Q2: write a simple python code Asks the user to enter any URL for a website (webpage * Use matplotlib to draw a pie chart

Q2: write a simple python code Asks the user to enter any URL for a website (webpage * Use matplotlib to draw a pie chart that shows the occurrences of lower letters, upper letters, and digits in the source of the opened webpage *Use the re package to identify all of the links(i.e. URLs) and emailsthat may be available in the source of that webpage Notes : A. Your program should be MENU-driven, in which the script will keep asking the user to enter a choice between (1-5) until the user enters a zero (0), then the program will exit/terminate. B. Any program that is not menu-driven will not be graded (you will get a ZERO for it) C:: you are only allowed to use these three packages: urllib, matplotlib, and re. Any use of other packages such as BeautifulSoup will get you a ZERO

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!