<human>:  Getting file size in Python?
<bot>: Here is some code to get the size of file 'C:\\Python27\\Lib\\genericpath.py'

os.stat('C:\\Python27\\Lib\\genericpath.py').st_size

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.