Question: Hello, I need help writing code in python that can read a text file from a http link site and count the number of characters

Hello, I need help writing code in python that can read a text file from a http link site and count the number of characters such as upper case letters, lower case letters, digits, and white spaces.

I need it to read it from this site: https://raw.githubusercontent.com/tisage/CISC540/main/data/Lab_2/sonnets.txt

please and 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!