Can .py be complied?

John J. Lee jjl at pobox.com
Fri Apr 29 15:31:12 EDT 2005


jfj <jfj at freemail.gr> 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;
> }
> 
> 
> Seriously, people who want executables wouldn't notice the difference.

Until they install the next program that does this.


John




More information about the Python-list mailing list