ruby was/is basically python's japanese cousin.
Before ruby on rails came allong it had little audience outside japan, the biggie for ruby is from the ground up it was designed with utf8 support.
Both are very similar, only big difference is ruby has closures,and relies heavily on them while python does not.
http://www.artima.com/intv/closures.htmlAlso another biggie is ruby does not have native threads.
PHP basically was designed to convert C/C++ programmers to a scripting language.
As a result it has all these {}; crap like that, which are not for the programmer, but for the compiler.
Comparing PHP's shell to python's is like .........
Python's shell you can inspect the objects at runtime, you can see all class methods,variables etc.
There are numerous shells out there for python.
You also with python can do modify the classes at runtime.
Also python does have metaclasses.
Also when it comes to interfacing C/C++ code, shared libraries etc, into python, python has more ways then you can shake a stick at.
Also correct me if i am wrong, but PHP does not have a module system, as a result you end up with all the functions being dumped like a load of slop in one namespace.
PHP also has the require/include problem, again not a problem with python since it has a module system.
PHP objects are like thier C++/Pascal cousins, poorly designed etc.
PHP is good for web programming but that is about it, and much better then python in this area.
About the only thing that python lacks is proper macros (but then again every language compared to lisp/scheme has shit macros)
Also the python shell compared to lisps is primitive
