import requests
import time

def get_resume():
    resume = 'There was an error pulling the resume.  Check your network settings and try again.'
    try:
        response = requests.get('https://git.stonesoft.io/brett.spaulding/Resume/raw/branch/main/resume.txt')
        if response and response.text:
            resume = response.text
    except Exception as e:
        resume += '\n Exception: %s' % e
    return resume


if __name__ == '__main__':
    data = get_resume()
    for line in data.split('\n'):
        print(line)
        time.sleep(0.05)
