def tell(self):
        """the current position of the file

        The initial position may not be 0 if the underlying input
        file supports tell and it not at position 0.
        """
        if not self.at_beginning:
            raise TypeError("ReseekFile cannot tell except at the beginning of file")
        return self.beginning
the current position of the file

        The initial position may not be 0 if the underlying input
        file supports tell and it not at position 0.
        
recipes/Python/173071_ReseekFile/recipe-173071.py