hello<div>I wrote a function to fetch data using urllib and displaying the data</div><div>using internet Explorer.</div><div>it is not preparing the html file</div><div>So opening blank Explorer after complaining th html file not found.</div>
<div>Where is the problem?</div><div>Can I display the data read from a site  without preparing </div><div>a html file?</div><div><br></div><div>&lt;code&gt;</div><div><br></div><div><div>def pp():</div><div>@@@<span class="Apple-tab-span" style="white-space:pre">        </span>import urllib</div>
<div>@@@<span class="Apple-tab-span" style="white-space:pre">        </span>import subprocess</div><div>@@@<span class="Apple-tab-span" style="white-space:pre">        </span>so=urllib.urlopen(&#39;<a href="http://www.asstr.org">http://www.asstr.org</a>&#39;)</div>
<div>@@@<span class="Apple-tab-span" style="white-space:pre">        </span>data=so.read()</div><div>@@@<span class="Apple-tab-span" style="white-space:pre">        </span>de=open(&#39;C:pp.html&#39;,&#39;w&#39;)</div><div>@@@<span class="Apple-tab-span" style="white-space:pre">        </span>de.write(data)</div>
<div>@@@<span class="Apple-tab-span" style="white-space:pre">        </span>subprocess.Popen([&#39;C:\Program Files\Internet xplorer\\IEXPLORE&#39;,&#39;C:pp.html&#39;])</div><div><br></div><div><br></div><div>&lt;/CODE&gt;</div>
<div><br></div><div><br></div><div>prasad</div></div>