bag.streams module

Functions that use streams (open files).

bag.streams.get_file_size(stream)[source]

Given a seekable file, return its size.

Return type:int