5

I want to do some web-development with Python 3.3 on a Windows box. I have no interest in frameworks; is there a good, simple, easy-to-get-started-with web server I can use for this? (I.e. similar to Easy-PHP or Apache or similar). With no/minimal config.

It must have auto-restart (as in, if a pythong file is changed, the server should use the new version rather than a cached version).

I've found http://fgimian.github.io/blog/2012/12/08/setting-up-a-rock-solid-python-development-web-server/ - which is good except it's centred around frameworks. I want something that stands alone. Thanks

1 Answer 1

3

If you like Apache, you can use mod_wsgi, which is an Apache HTTP Server module that provides a WSGI compliant interface for hosting Python 2.3+ based web applications.

2
  • Thanks. This does potentially do what I want and is an excellent, informative answer, however it fails the "simple" test. The "Quick" configuration page for example looks like: code.google.com/p/modwsgi/wiki/QuickConfigurationGuide - and assumes more knowledge than I have. So I'm not sure I'll be able to use it. Are there no actually simple ones? Commented May 4, 2014 at 13:15
  • @GIS-Jonathan wsgiref.simple_server? Doesn't get more simple than that, and it's included in the standard library. If you want a decent web server that is fit for production use, you'll have to do some configuration. For any language.
    – Lukas Graf
    Commented May 5, 2014 at 20:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.