Python is a poor choice IMO. It's just too slow, even for web servers. Everyone says "oh it's IO bound or database bound; Python doesn't matter") but in my experience it does.
Better choices:
- Go - very easy. Build in web stuff. Fast. Trivial to deploy.
- Typescript, especially via something like Deno's Fresh. Much faster than Python, better type checking, and best of all you can use TSX-based templates instead of shitty text-based ones like Jinja.
- Rust. Definitely the hardest option, but on the plus side you will learn Rust and that's a big plus.