Assignment: Create a program to prompt for a URL, read the XML data from that URL using urllib and then parse and extract the comment counts from the XML data, compute the sum of the numbers in the file. The data consists of a number of <name>s and comment <count>s in XML. You are to look through all the <comment> tags and find the <count> values and sum the numbers, Data: http://py4e-data.dr-chuck.net/comments_276966.xml. From 'Python for Everybody' University of Michigan course via Coursera.
-
Notifications
You must be signed in to change notification settings - Fork 0
Assignment: Create a program to prompt for a URL, read the XML data from that URL using urllib and then parse and extract the comment counts from the XML data, compute the sum of the numbers in the file. The data consists of a number of <name>s and comment <count>s in XML. You are to look through all the <comment> tags and find the <count> value…
lageshay/Extracting_Data_from_XML
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Assignment: Create a program to prompt for a URL, read the XML data from that URL using urllib and then parse and extract the comment counts from the XML data, compute the sum of the numbers in the file. The data consists of a number of <name>s and comment <count>s in XML. You are to look through all the <comment> tags and find the <count> value…
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published