old_contents: from keyring import get_password
  from twilio.rest import TwilioRestClient
  
  
  def twilio_creds():  # twillo credentials
      sid = get_password("Twillosid", "sid")
      auth = get_password("Twilloauth", "auth")
      return sid, auth
  
  
  def phone_numbers():
      twilio_phone = get_password("Twiliophone", "phone")
      my_phone = get_password("myphone", "phone")
      return twilio_phone, my_phone
  
  
  def create_message(w_list):
      message = '''Current temp: {w[Current_Temp]}
      Low: {w[Low]}
      High: {w[High]}
      Description: {w[Description]}'''
      message = message.format(w=w_list)
      return message
  
  
  def send_message(msg):
      t_phone, m_phone = phone_numbers()
      sid, auth = twilio_creds()
      t = TwilioRestClient(sid, auth)
      t.messages.create(body=msg, from_=t_phone, to=m_phone)
      return
  
new_contents: from keyring import get_password
  from twilio.rest import TwilioRestClient
  
  
  def twilio_creds():  # twillo credentials
      sid = get_password("Twillosid", "sid")
      auth = get_password("Twilloauth", "auth")
      return sid, auth
  
  
  def phone_numbers():
      twilio_phone = get_password("Twiliophone", "phone")
      my_phone = get_password("myphone", "phone")
      return twilio_phone, my_phone
  
  
  def create_message(w_list):
      message = '''Current temp: {w[Current_Temp]}
      Low: {w[Low]}
      High: {w[High]}
      Description: {w[Description]}'''
      message = message.format(w=w_list)
      return message
  
  
  def send_message(msg):
      t_phone, m_phone = phone_numbers()
      sid, auth = twilio_creds()
      t = TwilioRestClient(sid, auth)
      t.messages.create(body=msg, from_=t_phone, to=m_phone)
  
subject: remove extra returns