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/i/r/ironpython3-HEAD/Src/StdLib/Lib/csv.py   ironpython3(Download)
        """
 
        data = list(filter(None, data.split('\n')))
 
        ascii = [chr(c) for c in range(127)] # 7-bit ASCII

src/p/y/python-tornado-bootstrap-HEAD/apps/utils/common.py   python-tornado-bootstrap(Download)
def smart_split(text, comma=','):
    if isinstance(text, (str, unicode)):
        text = text.strip()
        text = text.split(comma)
        text = map(lambda x: x.strip(), text)

src/p/a/Pairup-Israel-HEAD/findapartner/utils/forms.py   Pairup-Israel(Download)
    def clean(self, value):
        value = list(set([value.lower() for value in value.split(',')]))
        for val in value:
            if self.case_sensitive:
                kwargs = {"%s__iexact" % (self.to_field_name):val,

src/t/m/tmuxp-0.1.11/tmuxp/util.py   tmuxp(Download)
 
        self.stdout = console_to_str(stdout)
        self.stdout = self.stdout.split('\n')
        self.stdout = list(filter(None, self.stdout))  # filter empty values
 
        self.stderr = console_to_str(stderr)
        self.stderr = self.stderr.split('\n')

src/s/o/Source.Python-HEAD/addons/source-python/Python3/csv.py   Source.Python(Download)
        """
 
        data = list(filter(None, data.split('\n')))
 
        ascii = [chr(c) for c in range(127)] # 7-bit ASCII

src/t/m/tmuxp-HEAD/tmuxp/util.py   tmuxp(Download)
 
        self.stdout = console_to_str(stdout)
        self.stdout = self.stdout.split('\n')
        self.stdout = list(filter(None, self.stdout))  # filter empty values
 
        self.stderr = console_to_str(stderr)
        self.stderr = self.stderr.split('\n')

src/c/p/cpython-HEAD/Lib/csv.py   cpython(Download)
        """
 
        data = list(filter(None, data.split('\n')))
 
        ascii = [chr(c) for c in range(127)] # 7-bit ASCII

src/s/t/static-python-HEAD/Lib/csv.py   static-python(Download)
        """
 
        data = list(filter(None, data.split('\n')))
 
        ascii = [chr(c) for c in range(127)] # 7-bit ASCII

src/o/p/OpenMDAO-Framework-HEAD/openmdao.main/src/openmdao/main/array_helpers.py   OpenMDAO-Framework(Download)
    if '-' in idx or ':' in idx:
 
        idx_list = idx.split(',')
        indices = []
        for index, size in zip(idx_list, shape):

src/e/a/easyAI-HEAD/easyAI/games/Nim.py   easyAI(Download)
    def make_move(self, move):
        move = list(map(int, move.split(',')))
        self.piles[move[0] - 1] -= move[1]
 
    def unmake_move(self, move): # optional, speeds up the AI
        move = list(map(int, move.split(',')))

Previous  4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12  Next