“web dev stacks” and “Python” are not mutually exclusive, and it sounds like you think they are?
Python can absolutely be part of a web dev stack, as can almost any other common programming language today. A stack with Python would likely include either Flask or Django, which are both Python web frameworks. And that only covers the back-end - you would still need to add a database, along with the front-end (HTML, CSS, JavaScript).
Additionally, web development is not the only “application” that Python can be used for, as it’s also commonly used for AI, ML, and data science. Python is certainly popularly used for web development as well though, especially with smaller companies.
And as mentioned above, Python and JavaScript can be used in the same project/application. In fact, you could theoretically use JavaScript on the front-end (via Angular, React, or Vue) coupled to a Python back-end via Flask or Django.
As far as “academically” learning programming languages, I personally consider Python and JavaScript fairly similar to each other, so IMO there’s not much point to learning both, at least not immediately. Although if you’re a beginner, it’s probably a good idea to start with Python regardless, although you could just as easily go with Ruby instead, which is also relatively easy to learn. Once you master one of these languages well (JavaScript, Python, and/or Ruby), I’d highly recommend a totally different language like one of the C family-based ones (C# is probably the best modern classical OOP language to learn in 2020-21, although there’s a case to be made for Java as well), or one of the “trendy” ones like Rust, Go, Elixir, or Scala.