To put it simple, Python is a scripting language, it's capable of doing alot more than what PHP can. I suggest you use Python 3, although a lot of tutorials may suggest using Python 2, but do not do that. The difference between 2 and 3 isn't much (assuming that you will figure out most of the differences by yourself.)
But keep in mind, Python is a rather casual language, declarations are different. Other languages are strict and will punish you for mistakes.