ControlChart/control_chart.py
def load_stream(input_stream):
    """
    Format the input stream to create numeric data points.

    :param input_stream: data generator.  Lines are excepted of str type
    :type  input_stream: generator (sys.stdin)
    """
    for line in input_stream:
        clean_line = line.strip()
        if not clean_line:
            # skip empty lines (ie: newlines)
            continue
        if clean_line[0] in ['"', "'"]:
            clean_line = clean_line.strip('"').strip("'")
        try:
            yield float(clean_line)
        except:
            err_out("invalid line %r" % line)

    Format the input stream to create numeric data points.

    :param input_stream: data generator.  Lines are excepted of str type
    :type  input_stream: generator (sys.stdin)
    
Format the input stream to create numeric data points.
Format the input stream to create numeric data points .
def load_stream(input_stream):
    for line in input_stream:
        clean_line = line.strip()
        if not clean_line:
            continue
        if clean_line[0] in ['"', "'"]:
            clean_line = clean_line.strip('"').strip("'")
        try:
            yield float(clean_line)
        except:
            err_out("invalid line %r" % line)
def load_stream ( input_stream ) : for line in input_stream : clean_line = line . strip ( ) if not clean_line : continue if clean_line [ 0 ] in [ '"' , "'" ] : clean_line = clean_line . strip ( '"' ) . strip ( "'" ) try : yield float ( clean_line ) except : err_out ( "invalid line %r" % line )
Format the input stream to create numeric data points.
Format the input stream to create numeric data points .
"""
    Format the input stream to create numeric data points.

    :param input_stream: data generator.  Lines are excepted of str type
    :type  input_stream: generator (sys.stdin)
    """ # skip empty lines (ie: newlines)
input_stream
data generator.  Lines are excepted of str type
data generator . Lines are excepted of str type