Python vs PHP. Python is a general purpose programming language which is among the most popular programming languages in the world. On the other hand PHP is a general-purpose scripting language that is especially suited to server-side web development. This video is a comparison between the advantages and disadvantages between the two.