byte python ke megabytes
print(f"{os.path.getsize(filepath)/float(1<<20):,.0f} MB")
Attractive Alpaca
print(f"{os.path.getsize(filepath)/float(1<<20):,.0f} MB")