Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #211708

Programming pointer? -- options to run Python3 from web page (not via Flask/cgi/Django)

From deb <deb@rangingthoughts.org>
Newsgroups linux.debian.user
Subject Programming pointer? -- options to run Python3 from web page (not via Flask/cgi/Django)
Date 2019-07-24 20:40 +0200
Message-ID <ynulb-5z4-7@gated-at.bofh.it> (permalink)
References <ylYno-5VV-9@gated-at.bofh.it> <ylZ9M-6s0-3@gated-at.bofh.it> <ylZjr-6vh-5@gated-at.bofh.it> <ym05P-71l-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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?

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?].

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.


Thank you!

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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