anyone? Please, I&#39;m trying very hard to get this working!<br><br><div class="gmail_quote">On Sat, Nov 21, 2009 at 3:19 PM, Someone Something <span dir="ltr">&lt;<a href="mailto:fordhaivat@gmail.com">fordhaivat@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I&#39;m trying to make a homepage that has a link to a page that was made with file. The only thing that currently works is the File() page. I have absolutely no idea how to do the rest (no, its not homework). Here&#39;s my current code:<br>

from twisted.web.server import Site<br>from twisted.web.resource import Resource<br>from twisted.internet import reactor<br>from twisted.web.static import File<br><br><br>root=Resource()<br>root.putChild(&quot;programming&quot;, File(&quot;/home/dhaivat/&quot;));<br>

<br>factory= Site(root)<br>reactor.listenTCP(8080, factory);<br>reactor.run();<br><br>How can I implement the home page?<br><br>
</blockquote></div><br>