Skip to content

Instantly share code, notes, and snippets.

rlam3

Block or report user

Report or block rlam3

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:c4f2b80cc5d768c1a1e8
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
os.stat(fullpath).st_size
You can’t perform that action at this time.