: Running a Python CGI Web App off of a DVD I have run into a rather unique situation. I need to deploy a web application that uses Python CGI on a DVD. No software can be downloaded onto
I have run into a rather unique situation. I need to deploy a web application that uses Python CGI on a DVD. No software can be downloaded onto the computer of the user.
Does anyone have any ideas for how this can be accomplished?
More posts by @Welton855
1 Comments
Sorted by latest first Latest Oldest Best
Python is a script language and requires an interpreter to run. However, not all is lost. You can make an executable from a Python script. It is not clear if this works for CGI. I expect you will have to modify your code since CGIs are meant to run within a web environment. Here are a few links:
effbot.org/pyfaq/how-do-i-make-a-python-script-executable-on-unix.htm and www.logix4u.net/component/content/article/27-tutorials/44-how-to-create-windows-executable-exe-from-python-script look good. But I would be remiss if I did not use a stackoverflow link so here it is - stackoverflow.com/questions/17276296/how-to-make-others-use-my-python-script/17276712#17276712.
This link may help too: pointlessprogramming.wordpress.com/2011/02/13/python-cgi-tutorial-1/
You are going to have to experiment around a bit. I did something similar years ago but with a different language taking HTML files and producing an active CD.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.