[Tutor] Writing scripts and apps for Internet consumption
bob gailer
bgailer at gmail.com
Sat Jul 31 23:48:01 CEST 2010
On 7/31/2010 2:45 PM, Eric Hamiter wrote:
>
> Get a linux hosting account, and a web address, most linux hosting
> comes with python, so practice in the 'cloud'.
>
>
> I have that-- an account with Dreamhost. This hasn't solved my
> problems yet though. Like I said, I can have it write a simple
>
> Hello, World!
Please post that code, and the URL you use to invoke it.
>
> ...but if I make it do anything more complex, I get a 404 error.
Please post that code, and the URL you use to invoke it.
Do you import cgi?
There is a companion module (cgitb) that captures exceptions and returns
the traceback to the web browser.
--
Bob Gailer
919-636-4239
Chapel Hill NC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100731/2e7f5bed/attachment.html>
More information about the Tutor
mailing list