jfj <[EMAIL PROTECTED]> writes:
> /* small program in C in self extracting archive
> */
> if (have_application ("Python")) {
> have_python:
> system ("python.exe my_application.py")
> } else {
> printf ("This software requires python. Wait until all the
> necessary components are being installed\n");
> download_python_from_python_org();
> system ("install_python.exe");
> goto have_python;
> }
Goto. Ugh.
if (!have_application("Python")) {
printf ("This software requires python. Wait until all the
necessary components are being installed\n");
download_python_from_python_org();
system ("install_python.exe");
}
system("python.exe my_application.py");
<mike
--
Mike Meyer <[EMAIL PROTECTED]> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
--
http://mail.python.org/mailman/listinfo/python-list