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

All Samples(168)  |  Call(168)  |  Derive(0)  |  Import(0)

src/s/u/Supybot-plugins-HEAD/WebDoc/plugin.py   Supybot-plugins(Download)
                def formatter(command):
                    command = list(map(callbacks.canonicalName,
                        command.split(' ')))
                    doc = callback.getCommandMethod(command).__doc__
                    if not doc:

src/p/y/python-stdnet-0.8.2/stdnet/backends/__init__.py   python-stdnet(Download)
        address = address or ':'
        if not isinstance(address, (list, tuple)):
            address = address.split(':')
        else:
            address = list(address)

src/g/i/github-issues-manager-HEAD/gim_project/front/widgets.py   github-issues-manager(Download)
 
        if isinstance(self.parent_classes, basestring):
            self.parent_classes = self.parent_classes.split(',')
        elif isinstance(self.parent_classes, (tuple, list)):
            self.parent_classes = list(self.parent_classes)

src/a/s/asamended-0.04/asamended/uscode/user.py   asamended(Download)
        stringy_ident = ident
        if ',' in ident:
            listy_ident = ident.split(',')
 
    # Handle IdentSet.

src/s/l/sleekxmpp-1.2.5/sleekxmpp/xmlstream/tostring.py   sleekxmpp(Download)
                break
        if escape_needed:
            escaped = map(lambda x : "<![CDATA[%s]]>" % x, text.split("]]>"))
            return "<![CDATA[]]]><![CDATA[]>]]>".join(escaped)
        return text

src/e/a/easyAI-HEAD/easyAI/games/Hexapawn.py   easyAI(Download)
    def make_move(self, move):
        move = list(map(to_tuple, move.split(' ')))
        ind = self.player.pawns.index(move[0])
        self.player.pawns[ind] = move[1]
 

src/s/l/SleekXMPP-HEAD/sleekxmpp/xmlstream/tostring.py   SleekXMPP(Download)
                break
        if escape_needed:
            escaped = map(lambda x : "<![CDATA[%s]]>" % x, text.split("]]>"))
            return "<![CDATA[]]]><![CDATA[]>]]>".join(escaped)
        return text

src/z/c/zc.beforestorage-0.5.1/src/zc/beforestorage/__init__.py   zc.beforestorage(Download)
                    d, t = before, ''
 
                d = list(map(int, d.split('-')))
                if t:
                    t = t.split(':')

src/g/e/GeoBasesPypy-5.0.16/GeoBaseMain.py   GeoBasesPypy(Download)
def guess_headers(row, delimiter):
    """Heuristic to guess the lat/lng fields from first row.
    """
    if delimiter:
        row = row.split(delimiter)
 
    if delimiter:
        row = row.split(delimiter)
    else:
        row = list(row)

src/g/e/GeoBases-5.0.16/GeoBaseMain.py   GeoBases(Download)
def guess_headers(row, delimiter):
    """Heuristic to guess the lat/lng fields from first row.
    """
    if delimiter:
        row = row.split(delimiter)
 
    if delimiter:
        row = row.split(delimiter)
    else:
        row = list(row)

Previous  7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15  Next