import pandas as pd
from simple_salesforce import Salesforce
with open('C:\\Users\\City_Year\\Desktop\\salesforce_credentials.txt', 'r') as f:
read_data = f.read()
sf_creds = eval(read_data)
# our Salesforce instance is referred to as cyschoolhouse (cysh)
cysh = Salesforce(instance_url=sf_creds['instance_url'],
password=sf_creds['password'],
username=sf_creds['username'],
security_token=sf_creds['security_token'])