Skip to content

Instantly share code, notes, and snippets.

View Rkauff's full-sized avatar
🎯
Focusing

Ryan Kauffman Rkauff

🎯
Focusing
View GitHub Profile
@Rkauff
Rkauff / python_3_email_with_attachment.py
Last active December 28, 2017 06:25 — forked from rdempsey/python_3_email_with_attachment.py
Use Python 3 to send an email with an attachment using Gmail
# -*- coding: utf-8 -*-
"""
Created on Sat Dec 23 18:58:46 2017
@author: Ryan
"""
'''
This script does a couple things.
1) It goes out to the New York Federal Reserve website and scrapes the fed funds page.
2) Parses the date to get the current fed rate, and the corresponding date of that rate; the prior fed rate and the corresponding date of that rate.