Hello Bert Thanks for responding.
Mongoose is a small app that you place in the same folder as your python app. It consists of an exe file and a config file. The config file determines the listening port and once the exe is started all calls on that port are processed. see config example below... The python files are generated with no reference to the server but the python library file called cgi is used to extract form data from returned pages. It's all quite simple. I hope this covers what you want but please don't hesitate to ask for any further info if you need any. __________ document_root D:\Websites\ob2 listening_port 888 index_files members.py,home.py,index.py cgi_interpreter C:\Python\Python.exe cgi_pattern **.cgi$|**.py$ ___________ Best wishes Stuart On Tuesday, February 5, 2019 at 9:59:36 PM UTC, Bert JW Regeer wrote: > > Hello Stuart, > > How are you currently running your application? I am not familiar with > Mongoose. > > Bert > > On Feb 5, 2019, at 13:38, Stuart <[email protected] <javascript:>> wrote: > > As an amateur Python coder I am looking for a little help... > > Having read about waitress, I feel it might be a good step up from > mongoose which currently runs our Beekeeper society website. > I have installed waitress with pip install on windows 7 using Python 3.7.0. > After opening a command window and running python the command 'from > waitress import serve' seemed to run ok. > The command "serve(python.exe, listen='*:8080')" results in name "python' > is not defined" so not sure what to enter for wsgiapp > > Also, if it can be made to work, the current code, when necessary, imports > cgi > and then uses cgi.FieldStorage to obtain username and password. > Will waitress provide the same facility. > > No frameworks (Flask, Django etc.) are used, as it is a relatively small > society website. > It runs well under mongoose but it seems this server app. is not being > maintained any more so we wish to upgrade. > > Any help would be appreciated... > > Best wishes to all > Stuart > > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To post to this group, send email to [email protected] > <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/pylons-discuss/eddb4e87-cac2-4981-8f36-5b049e1388d4%40googlegroups.com > > <https://groups.google.com/d/msgid/pylons-discuss/eddb4e87-cac2-4981-8f36-5b049e1388d4%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/bd024cff-3b85-4878-9b42-fd23588f8b86%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
