Running a .exe from Python

Tyler Eaves tyler at tylereaves.com
Mon Nov 13 17:30:11 EST 2000


import os
os.system('C:\exepath\foobar.exe')

On Tue, 14 Nov 2000 20:50:43 GMT, "Kristen Zander" <kzander at flash.net>
wrote:

>I am using the mod_python and Apache to generate .psp and .py pages to use
>on the web.  I have a C++ application that I would like to execute from one
>of these pages.  There is nothing special about the pages, they are just
>pure Python code.  Is there a way I can run a .exe from Python, and
>consequently on my server from one of the web pages?
>
>Kristen
>

---
Tyler Eaves

Visit Ultra Coaster Central!
The internet's largest repository
of Ultra Coaster Tracks!

http://www.ultracoastercentral.com


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----



More information about the Python-list mailing list