To build a similar reputation tracker as Jon's by Python -
John Skeet has the following: Created by C #
I'm interested in making a similar app
- Beautiful soup
- defaultdict
We have apparently used
Screenscapping is easy, if I understand the HTML format correctly, for example, to get my representative (as I 95810):
import urlib import BeautifulSoup page = urllib.urlopen ('http://stackoverflow.com/users/' 95810 ') soup = beautiful soup. Beautiful soup (page) therep = str (soup.find (text = 'prestige'). Parent Prednest. Pre.) Print () print int (APR .rele (',', ''))
I'm not sure what you are doing with defaultdict
, though - you have a desire to perform on the int what you are processing next Will anyhow need to store it in a defaultdict?
Comments
Post a Comment