I’m not sure what’s going on, as the script used to work (before I messed around with my python on my system…)
But when I try something along the lines of
import mechanize
browser = mechanize.Browser()
browser.open("http://google.com")
I get something like
<response_seek_wrapper at 0x10123fd88 whose wrapped object = <closeable_response at 0x101232170 whose fp = <socket._fileobject object at 0x1010bf5f0>>>
Does anyone know why this is and what the fix is?
thanks!
it’s not an exception, is it?
nothing wrong is happening, you just got a return value, which is esentially a response object, equivalent to
br.response().see
vs