[Tutor] use python to change the webpage content?

Albert-Jan Roskam fomcl at yahoo.com
Sat May 18 12:42:44 CEST 2013



>There is a online simulator about a physic project I'm doing and I want to use the data the simulator generates on that website. I can get data using urllib.request and regular expression but I also want to change some of the input values and then get different sets of data. However, if I change the inputs, the address of the webpage wouldn't change, so I couldn't get data with different initial conditions.I'm wondering how I can implement this.

Maybe this? http://www.pythonforbeginners.com/cheatsheet/python-mechanize-cheat-sheet/



More information about the Tutor mailing list