Quantcast
Channel: How to pull out and then print certain words from a link - Stack Overflow
Browsing all 4 articles
Browse latest View live

Answer by Salo for How to pull out and then print certain words from a link

You have three problems to solve, first find the name of the day in the week second find the right line with minimum and maximum temp and third parse these temps.I think this should work:import...

View Article



Answer by Iskren for How to pull out and then print certain words from a link

The proper way to do it is to parse the RSS file, which is in XML format. You can start by studying the XML module documentation here. Here's a small code snippet to get you started:import urllibfrom...

View Article

Answer by Jaay for How to pull out and then print certain words from a link

You can use a regular expression to do soimport reTEMP_REGEX =...

View Article

How to pull out and then print certain words from a link

I am making a weather report program for homework, and it needs to print:Today's temperatures: maximum 2ºC, minimum -1ºCcurrently it prints out: Today's temperatures: <title>Thursday: Light Snow...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images