Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(14)  |  Call(14)  |  Derive(0)  |  Import(0)
Returns a sequence of lines for text that fits within the limits

src/b/3/b3-1.9.2/b3/parsers/iourt41.py   b3(Download)
    def broadcast(self, msg):
        lines = []
        for line in self.getWrap(msg, self._settings['line_length'], self._settings['min_wrap_length']):
            lines.append(self.getCommand('broadcast', prefix=self.msgPrefix, message=line))
 
    def saybig(self, msg):
        lines = []
        for line in self.getWrap(msg, self._settings['line_length'], self._settings['min_wrap_length']):
            lines.append(self.getCommand('saybig', prefix=self.msgPrefix, message=line))
 

src/b/i/big-brother-bot-HEAD/b3/parsers/iourt41.py   big-brother-bot(Download)
    def broadcast(self, msg):
        lines = []
        for line in self.getWrap(msg, self._settings['line_length'], self._settings['min_wrap_length']):
            lines.append(self.getCommand('broadcast', prefix=self.msgPrefix, message=line))
 
    def saybig(self, msg):
        lines = []
        for line in self.getWrap(msg, self._settings['line_length'], self._settings['min_wrap_length']):
            lines.append(self.getCommand('saybig', prefix=self.msgPrefix, message=line))
 

src/b/3/b3-1.9.2/b3/parsers/sof2.py   b3(Download)
            else:
                lines = []
                for line in self.getWrap(text, self._settings['line_length'], self._settings['min_wrap_length']):
                    lines.append(self.getCommand('message', prefix=self.msgPrefix, name=client.name, message=line))
 

src/b/3/b3-1.9.2/b3/parsers/etpro.py   b3(Download)
            else:
                lines = []
                for line in self.getWrap(text, self._settings['line_length'], self._settings['min_wrap_length']):
                    lines.append(self.getCommand('message', name=client.name, prefix=self.msgPrefix, message=line))
 
    def sayDead(self, msg):
        wrapped = self.getWrap(msg, self._settings['line_length'], self._settings['min_wrap_length'])
        lines = []
        for client in self.clients.getClientsByState(b3.STATE_DEAD):
            if client.cid:                

src/b/i/big-brother-bot-HEAD/b3/parsers/sof2.py   big-brother-bot(Download)
            else:
                lines = []
                for line in self.getWrap(text, self._settings['line_length'], self._settings['min_wrap_length']):
                    lines.append(self.getCommand('message', prefix=self.msgPrefix, name=client.name, message=line))
 

src/b/i/big-brother-bot-HEAD/b3/parsers/etpro.py   big-brother-bot(Download)
            else:
                lines = []
                for line in self.getWrap(text, self._settings['line_length'], self._settings['min_wrap_length']):
                    lines.append(self.getCommand('message', name=client.name, prefix=self.msgPrefix, message=line))
 
    def sayDead(self, msg):
        wrapped = self.getWrap(msg, self._settings['line_length'], self._settings['min_wrap_length'])
        lines = []
        for client in self.clients.getClientsByState(b3.STATE_DEAD):
            if client.cid:                

src/b/3/b3-1.9.2/b3/parsers/wop15.py   b3(Download)
    def say(self, msg):
        lines = []
        for line in self.getWrap(msg, self._settings['line_length'], self._settings['min_wrap_length']):
            lines.append(self.getCommand('say', prefix=self.msgPrefix, message=line))
 

src/b/i/big-brother-bot-HEAD/b3/parsers/wop15.py   big-brother-bot(Download)
    def say(self, msg):
        lines = []
        for line in self.getWrap(msg, self._settings['line_length'], self._settings['min_wrap_length']):
            lines.append(self.getCommand('say', prefix=self.msgPrefix, message=line))
 

src/b/3/b3-1.9.2/b3/parsers/et.py   b3(Download)
            else:
                lines = []
                for line in self.getWrap(text, self._settings['line_length'], self._settings['min_wrap_length']):
                    lines.append('qsay %s ^8[%s^8]^7 %s' % (self.msgPrefix, client.exactName, line))
 

src/b/i/big-brother-bot-HEAD/b3/parsers/et.py   big-brother-bot(Download)
            else:
                lines = []
                for line in self.getWrap(text, self._settings['line_length'], self._settings['min_wrap_length']):
                    lines.append('qsay %s ^8[%s^8]^7 %s' % (self.msgPrefix, client.exactName, line))