Just doing local file testing

Jim Richardson warlock at eskimo.com
Mon Apr 3 00:36:02 EDT 2000


On Sun, 02 Apr 2000 23:23:59 GMT, 
 Jim Conger, in the persona of <jimc at regnoc.com>,
 brought forth the following words...:

><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
><html>
>I'm not even to the point of using Apache yet - I'm just to launch the
>script locally from within the browser by having the form element point
>to a script on disk.  In other words, this is just a development environment
>using only local files.


This won't work, as it is the webserver that decides that the .py is a script
and passes it to python for execution. In local mode, your browser simply
treats the script as another text file, and an improperly formatted (in html 
terms) on at that.

-- 
Jim Richardson
	Anarchist, pagan and proud of it
WWW.eskimo.com/~warlock
	Linux, because life's too short for a buggy OS.




More information about the Python-list mailing list