Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import os
fullpath = os.path.join(os.sys.path[0],'path/to/file/or/folder'
# size of folder or file
# reminder: folder size does not include content within folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.