Python vs PHP

Aahz aahz at pythoncraft.com
Mon Jul 7 09:44:20 EDT 2003


In article <mailman.1057574470.1750.python-list at python.org>,
Catalin  <ady982 at ploiesti.astral.ro> 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 pythoncraft.com)           <*>         http://www.pythoncraft.com/

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




More information about the Python-list mailing list