Isn't Javascripts more common for web development? Though I've heard Python and Javascripts are pretty simplier to begin with.
Both languages aren't used for the same puproses, I would say. Most of the time, Python is used in order to build frameworks, whereas Javascript is a client-sided language used to create interactions and more user-friendly websites.