Web Programming thru python

danfolkes danfolkes at gmail.com
Mon Sep 17 09:50:18 EDT 2007


I have been wondering the same thing.  I know you have to load the
mod_python into apache.  But I failed on setting that up.  I run an
ubuntu server.

But I would check out a site like this: http://webpython.codepoint.net/mod_python

-Daniel

On Sep 17, 7:14 am, python_lover <govisath... at gmail.com> wrote:
> HI,
>
> Please help how to execute a py file with xitami.
>
> I installed xitami , downloaded lrwp file.
>
> accessing the first web application program
>
> import urllib
> # Get a file-like object for the Python Web site's home page.
> f = urllib.urlopen("http://www.python.org")
> # Read from the object, storing the page's contents in 's'.
> s = f.read()
> f.close()
>
> through browser like "http://localhost/first.py
>
> it is dispaying the source code of the first.py.
>
> Please help me how to execute the file.
>
> thank you.





More information about the Python-list mailing list