You’ll note my complaint here is actually remarkably unique. You will rarely hear a person who is an expert in both TS and Python say definitively TS is better.
Many people who know both stacks well always maintains some kind of apples and oranges opinion about it. It’s like agnosticism.
First it’s the worst performing language for the application stack (only among the most languages for that area). Second type checking on Python is raw garbage.
Third you’re going to have to use TS for the frontend anyway. You can’t escape ts. Choosing Python(or any other language) forces you to have redundant code in two languages. Ts is the overall best startup stack and a huge part of it is because the frontend requires ts anyway.
Also sqlalchemy is pretty garbage.
This is obviously wrong. Sure you have to use Javascript for the web frontend that has interactivity without round-tripping to the server. Typescript compiles to Javascript, but its hardly the only language that does.
If you're frontend is a mobile app only then you don't even have to use Javascript for it all.