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())