Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #211740
| From | deb <deb@rangingthoughts.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Programming pointer? -- options to run Python3 from web page (not via Flask/cgi/Django) |
| Date | 2019-07-26 05:30 +0200 |
| Message-ID | <ynZ5D-7Ym-3@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <ylZjr-6vh-5@gated-at.bofh.it> <ym05P-71l-5@gated-at.bofh.it> <ynulb-5z4-7@gated-at.bofh.it> <ynTjA-4rF-15@gated-at.bofh.it> <ynUIF-5aL-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 7/25/19 6:45 PM, Carl Fink wrote: > On 7/25/19 5:06 PM, Joel Roth wrote: >> On Wed, Jul 24, 2019 at 02:16:09PM -0400, deb wrote: >>> I have a large static html/AJAX .js apache2 site. >>> >>> If I want to have a server-side script just to >>> handle a contact <form> and push mail out; >>> is there a non-(Django/cgi**/Flask) way to >>> run a small Python3 script to do this? >> What not cgi? Isn't that the original and minimal >> way to accomplish this? >> >>> The python3 mail script already works standalone (tests out fine >>> from CLI, >>> on the server). >>> >>> I'd rather not Flask out the whole website just to get the ability >>> to run >>> one .py script for contact mail. >>> >>> I'd rather not add .php to the server just to do this contact form. >>> >>> ** /cgi-bin to run the single python3 script is deprecated [Correct?]. >> Supported by existing protocols and running millions of >> websites. >> >> cheers >> >>> It is a straight-up HTML5 form ... that USED to post to .aspx. >>> <form method="POST" id='contactForm' action=" ? " > >>> >>> >>> While I would prefer the answer to be python-ish, >>> it does to Have to be python. >>> >>> > Is there any specific reason you don't just use mod_python, to remove > the overhead of a CGI script? > Lack of knowledge only. If I can use mod_python to get that one script to run, I'd be mighty happy. I could not find an example of that, searching around. Thanks
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
usenet connection Charles Zeitler <cfzeitler@gmail.com> - 2019-07-20 16:20 +0200
Re: usenet connection Patrick Bartek <nemommxiv@gmail.com> - 2019-07-20 17:10 +0200
Re: usenet connection Charles Zeitler <cfzeitler@gmail.com> - 2019-07-20 17:20 +0200
Re: usenet connection rhkramer@gmail.com - 2019-07-20 17:40 +0200
Re: usenet connection Patrick Bartek <nemommxiv@gmail.com> - 2019-07-20 18:10 +0200
Programming pointer? -- options to run Python3 from web page (not via Flask/cgi/Django) deb <deb@rangingthoughts.org> - 2019-07-24 20:40 +0200
Re: Programming pointer? -- options to run Python3 from web page (not via Flask/cgi/Django) Joel Roth <joelz@pobox.com> - 2019-07-25 23:20 +0200
Re: Programming pointer? -- options to run Python3 from web page (not via Flask/cgi/Django) Carl Fink <carlf@panix.com> - 2019-07-26 00:50 +0200
Re: Programming pointer? -- options to run Python3 from web page (not via Flask/cgi/Django) deb <deb@rangingthoughts.org> - 2019-07-26 05:30 +0200
Re: Programming pointer? -- options to run Python3 from web page (not via Flask/cgi/Django) Carl Fink <carlf@panix.com> - 2019-07-26 05:30 +0200
Re: Programming pointer? -- options to run Python3 from web page (not via Flask/cgi/Django) deb <deb@rangingthoughts.org> - 2019-07-26 23:50 +0200
nemo, no error-crashes [in Stretch] deb <deb@rangingthoughts.org> - 2019-07-25 01:00 +0200
Fwd: nemo crashes with no error [in Stretch] deb <deb@rangingthoughts.org> - 2019-07-28 17:10 +0200
Re: Fwd: nemo crashes with no error [in Stretch] Curt <curty@free.fr> - 2019-07-28 17:30 +0200
Re: Fwd: nemo crashes with no error [in Stretch] deb <deb@rangingthoughts.org> - 2019-07-30 14:50 +0200
Re: usenet connection Curt <curty@free.fr> - 2019-07-20 18:40 +0200
Re: usenet connection Brad Rogers <brad@fineby.me.uk> - 2019-07-20 18:30 +0200
Re: usenet connection Charles Zeitler <cfzeitler@gmail.com> - 2019-07-20 18:40 +0200
Re: usenet connection Charles Zeitler <cfzeitler@gmail.com> - 2019-07-20 19:00 +0200
Re: usenet connection Andrei POPESCU <andreimpopescu@gmail.com> - 2019-07-21 10:00 +0200
Re: usenet connection solved Charles Zeitler <cfzeitler@gmail.com> - 2019-07-22 02:50 +0200
csiph-web