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

All Samples(12)  |  Call(7)  |  Derive(0)  |  Import(5)
xrange(stop) -> xrange object
xrange(start, stop[, step]) -> xrange object

Like range(), but instead of returning a list, returns an object that
generates the numbers in the range on demand.  For looping, this is 
slightly faster than range() and more memory efficient.

src/b/l/blz-0.6.2/blz/btable.py   blz(Download)
from .bparams import bparams
from .chunked_eval import eval as blz_eval
from .py2help import _inttypes, _strtypes, imap, xrange
 
# BLZ utilities
                if limit is not None:
                    istop = limit + skip
                icols.append(islice(xrange(start, stop, step), skip, istop))
                dtypes.append((name, np.int_))
            else:

src/b/l/blaze-HEAD/blaze/io/_printing/_arrayprint.py   blaze(Download)
from __future__ import absolute_import, division, print_function
 
from ...py2help import xrange
 
__all__ = ["array2string", "set_printoptions", "get_printoptions"]
        s = ""
        line = next_line_prefix
        for i in xrange(leading_items):
            word = format_function(ddesc_as_py(a[i])) + separator
            s, line = _extendLine(s, line, word, max_line_len,
                                  max_line_len, next_line_prefix)
 
        for i in xrange(trailing_items, 1, -1):
            word = format_function(ddesc_as_py(a[-i])) + separator
            s, line = _extendLine(s, line, word, max_line_len,
        s = '['
        sep = separator.rstrip()
        for i in xrange(leading_items):
            if i > 0:
                s += next_line_prefix
            s += next_line_prefix + summary_insert1 + "\n"
 
        for i in xrange(trailing_items, 1, -1):
            if leading_items or i != trailing_items:
                s += next_line_prefix

src/b/l/blz-0.6.2/blz/bfuncs.py   blz(Download)
from .btable import btable
from .bparams import bparams
from .py2help import xrange, _inttypes
 
_inttypes += (np.integer,)
        for name in bobj.names:
            cbufs[name] = np.empty(blen, dtype=bobj[name].dtype)
        for i in xrange(start, stop, blen):
            buf = np.empty(blen, dtype=bobj.dtype)
            # Populate the column buffers and assign to the final buffer
        if blen is None:
            blen = bobj.chunklen
        for i in xrange(start, stop, blen):
            buf = np.empty(blen, dtype=bobj.dtype)
            bobj._getrange(i, blen, buf)

src/b/l/blz-0.6.2/blz/vtable.py   blz(Download)
import numpy as np
 
from .py2help import _inttypes, imap, xrange
_inttypes += (np.integer,)
 

src/b/l/blz-0.6.2/blz/attrs.py   blz(Download)
import os, os.path
import json
from .py2help import xrange, dict_iteritems
 
ATTRSDIR = "__attrs__"