I'm a web developer proficient in HTML, CSS and Javascript, but to be able to develop my own web applications, I'd like to learn a programming language besides PHP.
I've been learning Python for a while now but it seems a general purpose language, a bit complex, and not suited for web-development I guess.
So if my focus is creating web applications ONLY, which should I learn: Python or Ruby?
Many thanks for your comments and advices.