Re: Python script error when using print

2010-04-06 Thread Pierre Quentel
On 6 avr, 20:14, "Albert W. Hopkins" wrote: > On Tue, 2010-04-06 at 08:38 -0700, Robbie wrote: > > Hi all, > > > So, I'm trying to use Python with an apache2 server to create some web > > pages.  The web server is configured and seems to work correctly, but > > only with a certain type of script.

Re: Python script error when using print

2010-04-06 Thread Albert W. Hopkins
On Tue, 2010-04-06 at 08:38 -0700, Robbie wrote: > Hi all, > > So, I'm trying to use Python with an apache2 server to create some web > pages. The web server is configured and seems to work correctly, but > only with a certain type of script. > > For instance, this script works fine > > #!/usr/

Re: Python script error when using print

2010-04-06 Thread superpollo
Robbie ha scritto: Hi all, So, I'm trying to use Python with an apache2 server to create some web pages. The web server is configured and seems to work correctly, but only with a certain type of script. For instance, this script works fine #!/usr/bin/env python def index(): s = "Hello Wor