Open zonca opened 3 years ago
I am undecided if this is better than ls -lh:
ls -lh
(os.path.getsize(filename) * u.byte).to(u.MB)
Has the advantage of being same for Windows and showing another use of astropy units, but maybe is too obscure?
astropy
units
Interesting idea. Let me think about it.
I am undecided if this is better than
ls -lh
:Has the advantage of being same for Windows and showing another use of
astropy
units
, but maybe is too obscure?