# Why should I use Python as opposed to PHP for a web app?

**URL:** https://forum.kirupa.com/t/why-should-i-use-python-as-opposed-to-php-for-a-web-app/278133
**Category:** programming
**Created:** [December 22, 2008, 8:34pm UTC](https://forum.kirupa.com/t/why-should-i-use-python-as-opposed-to-php-for-a-web-app/278133 "2008-12-22T20:34:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![MTsoul](https://avatars.discourse-cdn.com/v4/letter/m/91b2a8/32.png) [@MTsoul](https://forum.kirupa.com/u/MTsoul)
#### Post date: [December 22, 2008, 8:34pm UTC](https://forum.kirupa.com/t/why-should-i-use-python-as-opposed-to-php-for-a-web-app/278133/1 "2008-12-22T20:34:46Z")

</div>

Give me at least a few good reasons why I should. In flamewars, Python is regarded as elegant. But feature-wise, what does it provide? It definitely has better error handling, but c’mon with a web app how many errors are there? Even then, what advantage does it have over PHP?

I’m trying hard to justify why I should use Python for a future web app than PHP.
