def __init__(self, f, symbols, file_unit=angstrom):
        """
           Arguments:
            | ``f``  -- a filename or a file-like object to write to
            | ``symbols``  --  the atom symbols

           Optional argument
            | ``file_unit``  --  the unit of the values written to file
                                 [default=angstrom]
        """
        if isinstance(f, str):
            self._auto_close = True
            self._f = open(f, 'w')
        else:
            self._auto_close = False
            self._f = f
        self.symbols = symbols
        self.file_unit = file_unit
def __init__ ( self , f , symbols , file_unit = angstrom ) : if isinstance ( f , str ) : self . _auto_close = True self . _f = open ( f , 'w' ) else : self . _auto_close = False self . _f = f self . symbols = symbols self . file_unit = file_unit
Arguments:
            | ``f``  -- a filename or a file-like object to write to
            | ``symbols``  --  the atom symbols

           Optional argument
            | ``file_unit``  --  the unit of the values written to file
                                 [default=angstrom]