Frontend yes but also for frameworks like svelte, express, nuxt. And python really sucks ngl compared to js. JavaScript is just a lot more... Capable?
Python has Django framework, Flask for simplicity. capable in what way though? I don’t think there’s anything that JS can do but py cant
webservers like express are much faster than flask. also frameworks like nuxtjs/svelte/etc with minimal api functions are pretty cool.