Python vs PHP

Aahz aahz at
Mon Jul 7 15:44:20 CEST 2003

In article <mailman.1057574470.1750.python-list at>,
Catalin  <ady982 at> wrote:
>Can Python replace PHP?
>Can I use a python program to make an interface to a mysql 4.X database?

The short answer is "yes" to both questions, but with a caveat: Python is
a general-purpose programming language, where PHP is designed to write
web applications.  So it's not quite as simple/straightforward to use
Python the same way you use PHP for plain web pages; conversely, if
you've been running into difficulty with PHP in trying to write
complicated program logic, you'll find Python a big help.
Aahz (aahz at           <*>

"Not everything in life has a clue in front of it...."  --JMS

More information about the Python-list mailing list