Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 132275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T06:14:13+00:00 2026-05-11T06:14:13+00:00

Good morning. As the title indicates, I’ve got some questions about using python for

  • 0

Good morning.

As the title indicates, I’ve got some questions about using python for web development.

  • What is the best setup for a development environment, more specifically, what webserver to use, how to bind python with it. Preferably, I’d like it to be implementable in both, *nix and win environment.

My major concern when I last tried apache + mod_python + CherryPy was having to reload webserver to see the changes. Is it considered normal? For some reason cherrypy’s autoreload didn’t work at all.

  • What is the best setup to deploy a working Python app to production and why? I’m now using lighttpd for my PHP web apps, but how would it do for python compared to nginx for example?

  • Is it worth diving straight with a framework or to roll something simple of my own? I see that Django has got quite a lot of fans, but I’m thinking it would be overkill for my needs, so I’ve started looking into CherryPy.

  • How exactly are Python apps served if I have to reload httpd to see the changes? Something like a permanent process spawning child processes, with all the major file includes happening on server start and then just lazy loading needed resources?

  • Python supports multithreading, do I need to look into using that for a benefit when developing web apps? What would be that benefit and in what situations?

Big thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T06:14:13+00:00Added an answer on May 11, 2026 at 6:14 am

    So here are my thoughts about it:

    I am using Python Paste for developing my app and eventually also running it (or any other python web server). I am usually not using mod_python or mod_wsgi as it makes development setup more complex.

    I am using zc.buildout for managing my development environment and all dependencies together with virtualenv. This gives me an isolated sandbox which does not interfere with any Python modules installed system wide.

    For deployment I am also using buildout/virtualenv, eventually with a different buildout.cfg. I am also using Paste Deploy and it’s configuration mechanism where I have different config files for development and deployment.

    As I am usually running paste/cherrypy etc. standalone I am using Apache, NGINX or maybe just a Varnish alone in front of it. It depends on what configuration options you need. E.g. if no virtual hosting, rewrite rules etc. are needed, then I don’t need a full featured web server in front. When using a web server I usually use ProxyPass or some more complex rewriting using mod_rewrite.

    The Python web framework I use at the moment is repoze.bfg right now btw.

    As for your questions about reloading I know about these problems when running it with e.g. mod_python but when using a standalone ‘paster serve … -reload’ etc. it so far works really well. repoze.bfg additionally has some setting for automatically reloading templates when they change. If the framework you use has that should be documented.

    As for multithreading that’s usually used then inside the python web server. As CherryPy supports this I guess you don’t have to worry about that, it should be used automatically. You should just eventually make some benchmarks to find out under what number of threads your application performs the best.

    Hope that helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 88k
  • Answers 88k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer According to the Grails Validation Reference maxLength is deprecated.. Have… May 11, 2026 at 5:42 pm
  • Editorial Team
    Editorial Team added an answer You can use such functor template <typename T, T* MyType::*… May 11, 2026 at 5:42 pm
  • Editorial Team
    Editorial Team added an answer public static string ArrayToString<T>(T[] array) { StringBuilder sb = new… May 11, 2026 at 5:42 pm

Related Questions

Good morning. As the title indicates, I've got some questions about using python for
Good morning, Apologies for the newbie question. I'm just getting started with ASP.NET internationalization
Good morning, I am currently writing a python library. At the moment, modules and
Good morning, I am working on a C# winform application that is using validation
Good morning, I work in a small shop (only two of us) and we

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.