Returns the size of a file.
In [1]: import os In [2]: os.path.getsize( '/online_dir/online.xml') Out[2]: 51289