Next / Previous / Contents / TCC Help System / NM Tech homepage

23. Scan.close(): Close the stream

logscan.py
# - - -   S c a n . c l o s e

    def close ( self ):
        '''Close the input stream.
        '''
        if self.file:
            self.file.close()
            self.file = None