windows 9x exe
Bjoern Gam
BjoernGam at knuut.de
Fri Dec 3 10:36:58 EST 1999
stuart mcfadden wrote:
>
> Has anyone found a way to make python scripts windows executable?, I checked
> the FAQ and it said there was no ideas as to how it would work.
Hello Stuart,
you must install a web-server under Windows 9x (I prefer the WebSite
Server). If you prefer a other web-server, you must check, that the
web-server could execute cgi-scripts. If you install WebSite you copy
your python-script in the folder "/cgi-bin/" and "/cgi-dos/. At last you
must only write a simple batch file like:
python.exe c:\website\cgi-dos\name.py
and save it for example as "py1.bat". Now you add a line like this in
your html-document: <A href= "/cgi-dos/py1.bat">Call</A>cgi-script</P>
Bjoern
--
Jemand musste Josef K. verleumdet haben, denn ohne dass er etwas boeses
getan hatte,wurde er eines Morgens verhaftet. -Franz Kafka-
homepage: www.dgsit.de/bjoerngam/
email: bjoerngam at knuut.de
More information about the Python-list
mailing list