using python in www site

M.-A. Lemburg mal at lemburg.com
Mon May 10 13:11:11 EDT 1999


Thomas A. Bryan wrote:
> 
> Situation:
> Your ISP permits Perl cgi scripts.
> You'd like to use Python, but they don't intend to install Python.
> You decide to use mxCGIPython, but you don't know enough information
>  about the ISP's platform.
> 
> Solution:
> Change the first line of the script at the bottom of the page
>  to point to your ISP's Perl.
> Upload the script to your cgi-bin directory.
>  (Make script executable if necessary)
> Point your browser to the script.
> 
> I use uname -a to get all of the information the machine can provide.
> You should be able to parse out the UNIX variant and version and
> the machine architecture.
> 
> Marc-Andre, maybe you could include this on the mxCGIPython page
> for those in Kaweh's situation.

Thanks. I'll add it to the web-page.

> #!/usr/bin/perl
> [...]

-- 
Marc-Andre Lemburg
______________________________________________________________________
Y2000:                                            Y2000: 235 days left
Business:                                      http://www.lemburg.com/
Python Pages:                 http://starship.python.net/crew/lemburg/





More information about the Python-list mailing list