On 2/5/19 3:38 PM, Stuart wrote:

> 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


'wsgiapp' should be any callable which conforms to PEP 3333's definition
for an application[1].

WSGI-based web frameworks aim to make writing that callable simpler, by
hiding the details of the WSGI spec.  See for instance the "simplest
possible Pyramid application"[2], or the equivalent Flask application[3].


[1] https://www.python.org/dev/peps/pep-3333/#the-application-framework-side

[2] https://pyramid.readthedocs.io/en/latest/#the-pyramid-web-framework

[3] http://flask.pocoo.org/


Tres.
-- 
===================================================================
Tres Seaver          +1 540-429-0999          [email protected]
Palladion Software   "Excellence by Design"    http://palladion.com

-- 
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/d38bec78-4bb6-0a4a-1261-839301af6ee8%40palladion.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to