[Tutor] Writing scripts and apps for Internet consumption
Eric Hamiter
ehamiter at gmail.com
Sun Aug 1 00:40:05 CEST 2010
On Sat, Jul 31, 2010 at 4:48 PM, bob gailer <bgailer at gmail.com> wrote:
>
> Please post that code, and the URL you use to invoke it.
>
test.py: this works on my laptop but not on the server
http://pastebin.com/ChjUzLRU
test-working.py: this works on both laptop & server
http://pastebin.com/iLNTrGdW
both available for execution here:
http://erichamiter.com/xkred27/
> Do you import cgi?
>
Yes.
>
> There is a companion module (cgitb) that captures exceptions and returns
> the traceback to the web browser.
>
I tried that as well. I'm sure I'm missing something fundamental here, but
that's kind of obvious since I posted I don't know what I'm doing in the
first place! :)
Thanks,
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100731/68c4c0ef/attachment.html>
More information about the Tutor
mailing list