Mobile app version of vmapp.org
Login or Join
Welton855

: 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

@Welton855

Posted in: #Python #WebApplications #WebsiteDeployment

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Welton855

1 Comments

Sorted by latest first Latest Oldest Best

 

@Alves908

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme