typePrint/typePrint.py
def typeHuman(string, start_speed=9./90, inc_speed=.08/90):
    """
    typeHuman will print string with constant speed at start of word and 
    after each letter speed will increase by inc_speed. The speed will reset 
    to start_speed when new word starts
    
    
    Parameters:
    -----------
    
    string : str
        string to print
    start_speed : float
        Sleep time of every word when the word starts
    inc_speed : float
        with every letter the speed will decrease with inc_speed 
    """
    speed = start_speed
    for c in string:
        sys.stdout.write(c)
        sys.stdout.flush()
        time.sleep(speed)
        speed = speed + inc_speed
        if c == ' ':
            time.sleep(.008)
            speed = start_speed

    typeHuman will print string with constant speed at start of word and 
    after each letter speed will increase by inc_speed. The speed will reset 
    to start_speed when new word starts
    
    
    Parameters:
    -----------
    
    string : str
        string to print
    start_speed : float
        Sleep time of every word when the word starts
    inc_speed : float
        with every letter the speed will decrease with inc_speed 
    
typeHuman will print string with constant speed at start of word and
after each letter speed will increase by inc_speed. The speed will reset
to start_speed when new word starts



string : str
string to print
start_speed : float
Sleep time of every word when the word starts
inc_speed : float
with every letter the speed will decrease with inc_speed
typeHuman will print string with constant speed at start of word and after each letter speed will increase by inc_speed . The speed will reset to start_speed when new word starts string : str string to print start_speed : float Sleep time of every word when the word starts inc_speed : float with every letter the speed will decrease with inc_speed
def typeHuman(string, start_speed=9./90, inc_speed=.08/90):
    speed = start_speed
    for c in string:
        sys.stdout.write(c)
        sys.stdout.flush()
        time.sleep(speed)
        speed = speed + inc_speed
        if c == ' ':
            time.sleep(.008)
            speed = start_speed
def typeHuman ( string , start_speed = 9. / 90 , inc_speed = .08 / 90 ) : speed = start_speed for c in string : sys . stdout . write ( c ) sys . stdout . flush ( ) time . sleep ( speed ) speed = speed + inc_speed if c == ' ' : time . sleep ( .008 ) speed = start_speed
typeHuman will print string with constant speed at start of word and
after each letter speed will increase by inc_speed.
typeHuman will print string with constant speed at start of word and after each letter speed will increase by inc_speed .
"""
    typeHuman will print string with constant speed at start of word and 
    after each letter speed will increase by inc_speed. The speed will reset 
    to start_speed when new word starts
    
    
    Parameters:
    -----------
    
    string : str
        string to print
    start_speed : float
        Sleep time of every word when the word starts
    inc_speed : float
        with every letter the speed will decrease with inc_speed 
    """
string
start_speed
inc_speed