def do_EOF ( self , args ) : if _debug : ConsoleCmd . _debug ( "do_EOF %r" , args ) return self . do_exit ( args )
how to implement eof in python
Exit on system end of file character
def do_EOF(self, args):
        """Exit on system end of file character"""
        if _debug: ConsoleCmd._debug("do_EOF %r", args)
        return self.do_exit(args)