Many times we have had this discussion at my work. We use PHP, and everyone here would like to switch to python. Even for our new web projects that PHP offers, and since we use them every day, this is what we use. Many things in PHP annoy me, and I love Python, who said that I am a big fan of "use the best tool for the job."
Good code is possible in PHP (and terrible awful code too), so use the best tool for you and for this job. If, however, this webapp is a hobby and / or non-critical software, I would completely recommend python if only to learn a new language.
source share