INNER CODE UNIT · Python

getLines

vchinnipilli/kubestriker · kubestriker/bars.py:74

def getLines(text):
    '''
    cowsay stuff
    '''  
    lines = []
    lines.append(text.strip())
    return lines

def getMaxLineLength(lines):
    '''
    cowsay stuff
    '''  
    maxLength = 0
    for line in lines:
        length = len(line)
        if length > maxLength:
            maxLength = length

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…