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? 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
    May 5, 2014 at 20:26

This site is temporarily in read-only mode and not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .