timeseries_scripts/read.py
def update_progress(count, total):
    '''
    Display or updates a console progress bar.

    Parameters
    ----------
    count : int
        number of files that have been read so far
    total : int
        total number aif files

    Returns
    ----------
    None

    '''

    barLength = 50  # Modify this to change the length of the progress bar
    status = ""
    progress = count / total
    if isinstance(progress, int):
        progress = float(progress)
    if progress >= 1:
        progress = 1
        status = "Done...\r\n"
    block = int(round(barLength * progress))
    text = "\rProgress: [{0}] {1}/{2} files {3}".format(
        "#" * block + "-" * (barLength - block), count, total, status)
    sys.stdout.write(text)
    sys.stdout.flush()

    return

    Display or updates a console progress bar.

    Parameters
    ----------
    count : int
        number of files that have been read so far
    total : int
        total number aif files

    Returns
    ----------
    None

    
Display or updates a console progress bar.
Parameters

count : int
number of files that have been read so far
total : int
total number aif files

Returns

None
Display or updates a console progress bar . Parameters count : int number of files that have been read so far total : int total number aif files Returns None
def update_progress(count, total):
    barLength = 50  
    status = ""
    progress = count / total
    if isinstance(progress, int):
        progress = float(progress)
    if progress >= 1:
        progress = 1
        status = "Done...\r\n"
    block = int(round(barLength * progress))
    text = "\rProgress: [{0}] {1}/{2} files {3}".format(
        "#" * block + "-" * (barLength - block), count, total, status)
    sys.stdout.write(text)
    sys.stdout.flush()
    return
def update_progress ( count , total ) : barLength = 50 status = "" progress = count / total if isinstance ( progress , int ) : progress = float ( progress ) if progress >= 1 : progress = 1 status = "Done...\r\n" block = int ( round ( barLength * progress ) ) text = "\rProgress: [{0}] {1}/{2} files {3}" . format ( "#" * block + "-" * ( barLength - block ) , count , total , status ) sys . stdout . write ( text ) sys . stdout . flush ( ) return
Display or updates a console progress bar.
Display or updates a console progress bar .
'''
    Display or updates a console progress bar.

    Parameters
    ----------
    count : int
        number of files that have been read so far
    total : int
        total number aif files

    Returns
    ----------
    None

    ''' # Modify this to change the length of the progress bar
count
total