Help to start python
python_lover
govisathish at gmail.com
Mon Sep 17 03:50:25 EDT 2007
More information about the Python-list mailing list
Mon Sep 17 03:50:25 EDT 2007
- Previous message (by thread): Help to start python
- Next message (by thread): lxml + mod_python: cannot unmarshal code objects in restricted execution mode
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message (by thread): Help to start python
- Next message (by thread): lxml + mod_python: cannot unmarshal code objects in restricted execution mode
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list