I would also suggest taking a look at human friendly https://pypi.org/project/humanfriendly/ which does a lot this for you on the user input/output front.
Sent: 13 October 2020 13:14
Subject: [Python-ideas] Add _KB, _MB, _GB to numeric literals
PEP 515 added underscore to numeric literals, it brings better readability.
PEP 515 -- Underscores in Numeric Literals
Is it possible to add _KB, _MB, _GB to numeric literals, for example:
Do you think it's a good code style?
Python-ideas mailing list -- email@example.com
To unsubscribe send an email to firstname.lastname@example.org
Message archived at https://email@example.com/message/QIKCXSOP6UZDSPJ5RJKX7EAXF7YAJYLK/
Code of Conduct: http://python.org/psf/codeofconduct/