You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
490 B

import requests
PAGE_SIZE = 124 # This is how many characters should fit into the window space
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/resume.txt')
resume = response.text()
except Exception as e:
resume += '\n Exception: %s' % e
return resume
if __name__ == '__main__':
print(get_resume())