QuantEcon folks share the following "cheatsheet" for those switching from Matlab to python, but I find it like an exact proof why one would want to stick with Matlab...what an ugly code in python.

I'm going to go out on a limb here and say that your superficial feeling of ugliness is not a great measure of the usefulness of a language.

From the perspective of that cheatsheet, Matlab has the prettiest syntax. But Matlab is also by far, overwhelmingly, the worst language of the three. That's because the ad-hoc way in which it grew as a "pretty" language for numerical computation meant that it was flawed in much deeper and more consequential ways.

All in all, from the perspective of software engineering, Python is a rather beautiful language. Needing to type 'np.' before everything is a feature, not a wart (good namespace management using modules and packages).

You can actually avoid doing this if you really want by writing things like "from numpy import *", but this is discouraged because, as experienced coders understand, it is awful for maintainability.