Thanks!
It took a bit going through it all, but with your help, I figured it out. Thanks!
User Profile
Collapse
-
How do you find multiple, identical strings and list them?
I'm extremely new, so bear with me.
I have a webpage in xml displaying Earthquake information (Magnitude, place and etc.). I need to list each place and magnitude, which is located between <title> tags. The str.find() only works for one thing, but I need to list them all. Also, the page has an irrelevant title in the beginning and I need to start my search after that. This is what I have:
...Code:import urllib.request
No activity results to display
Show More
Leave a comment: