It seems immensely unlikely that Python is more popular than Ruby because it has a good web development ecosystem, given that the one thing everyone knows about Ruby is that it has a good web development ecosystem.
(Note that this applies even if, contrary to conventional wisdom, Rails is really no good at all; and even if Django is spectacularly good. As long as "everyone knows" that Rails is a superb web development framework, Python is not going to be more popular than Ruby for having a good web development framework. For the avoidance of doubt, I have no particular view on the merits of RoR and Django; I haven't used either.)
Re:Ask HN: Python gaining popularity
by FooBarWidget on Saturday October 02, 2010 @04:54PM
(#1751319)
Ruby has good support for system scripting as well. Heck, it has great support for system scripting; I've switch from shell scripting to Ruby and never looked back since. String manipulation and piping are extremely easy to do in Ruby, in my opinion more so than in Python because of e.g. language support for regular expressions. Python requires regexps to be constructed from strings, unfortunately.
Rake is exactly like Make, except better. It retains Make's simplicity while providing all of Make's power in a turing-complete language that allows me to do whatever I want.
1. Google App Engine
2. Good webdev ecosystem (Django,etc.)
3. Science/Engineering and Machine Learning libraries - replacement to Matlab
4. Good support for system scripting