i basicly need python to open a certain javascript window ... then read it's source ... how do i do that?<br><br>-----------------------------<br>import urllib2<br>import cookielib<br><br>cj = cookielib.CookieJar()<br>opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj))<br><br>url = opener.open("The url that has a javascript window toggled on click")<br>js = opener.open('javascript:toggleBackpack(null,2190551);')&nbsp; # opening the JS window<br>js2 = opener.open("javascript:toggleBackpack('orb',2190551);") # toggleing another section on the JS window<br>source = js2.read()<br>print source<p>&#32;
      <hr size=1>Be a better pen pal. 
Text or chat with friends inside Yahoo! Mail. <a href="http://us.rd.yahoo.com/evt=51732/*http://overview.mail.yahoo.com/">See how.</a>