Have a look at any message board that is silly enough to actually mention PHP or Python in the title and you have all you need for a virtual battle for the “P” in LAMP. Not to be forgotten is Perl, but that one will have to wait for later. Today’s post will attempt to look at Python from the eyes of a PHP programmer. I will not promise an unbiased viewpoint, but I can tell you right up front that both languages fill a niche for getting certain jobs done quite nicely. Both languages also have some really odd ball things to them… usually for very good reasons depending on how you feel about those reasons.
Although it sometimes feels like there’s a new programming language coming out from somebody every couple of weeks, I believe it is now fair to say that both PHP and Python are very well established platforms for development. Both enjoy considerable corporate support, as well as very active user communities. They also jump across the operating system divide reasonably well. (more…)