Skip to content

Instantly share code, notes, and snippets.

@erickythierry
Created April 23, 2021 02:49
Show Gist options
  • Save erickythierry/c7ac4f19a2b8933e65dfeddacd985059 to your computer and use it in GitHub Desktop.
Save erickythierry/c7ac4f19a2b8933e65dfeddacd985059 to your computer and use it in GitHub Desktop.
import os
b = os.path.getsize("c.gif")
tamanho = int((b/1024)/1024)
print(tamanho)
@erickythierry
Copy link
Author

só lembrete pra futuros usos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment