I think if you are sure about doing things mostly related with web programming then you should go with Ruby rather than Python.