
13 Oct
2020
13 Oct
'20
2:06 p.m.
PEP 515 added underscore to numeric literals, it brings better readability.
PEP 515 -- Underscores in Numeric Literals https://www.python.org/dev/peps/pep-0515/
Is it possible to add _KB, _MB, _GB to numeric literals, for example:
200_KB (200*1024) 150_MB (150*1024*1024) 2_GB (2*1024*1024*1024)
Do you think it's a good code style?