old_contents: import datetime
  import quip
  
  class NewDoc(object):
  
      def __init__(self):
          NextWednesday = datetime.datetime.today() + datetime.timedelta(days = 5)
          self.NextWednesdayN = NextWednesday.strftime("%m%d")
          self.NextWednesdayS = NextWednesday.strftime("%B %d")
          if self.NextWednesdayS[-2] == "0":
              self.NextWednesdayS = self.NextWednesdayS[:-2] + self.NextWednesdayS[-1];
          self.ctx = """<p class='line'>Good Morning AHA!<br/>
          It is Wednesday, %s. The weather for today is __. There is a(n) __%% chance of rain. The high temperature today will be __ degrees Celsius, which is __ degrees Fahrenheit.</p>
          <p class='line'>&#8203;</p>
          <p class='line'><b>Now for this week in history:</b></p>
          <p class='line'>&#8203;</p>
          <p class='line'>&#8203;</p>
          <p class='line'><b>In World News:</b></p>
          <p class='line'>&#8203;</p>
          <p class='line'>&#8203;</p>
          <p class='line'><b>Now for the fun facts:</b></p>
          <p class='line'>&#8203;</p>
          <p class='line'>&#8203;</p>
          <p class='line'><b>In AHA News:</b></p>
          <p class='line'>&#8203;</p>
          <p class='line'>&#8203;</p>
          <p class='line'>We will close with this/these verse(s) from</p>
          <p class='line'>&#8203;</p>
          <p class='line'>That is all for today's AHA broadcasting. Thank you for listening, and as always stay classy AHA!</p>
          """ % (self.NextWednesdayS) # &#8203; (or &#x200b;) stands for a place-holder for a blank <p>
          #self.FolderID = "LHEAOAhm7YS" # my desktop
          self.FolderID = "PCeAOAQx6sO" # AHA BC
          self.client = quip.QuipClient(access_token="Wk9EQU1BcDZFS04=|1483091850|CF037JVoITJPnAET8aHWnZwEZACvrIm7jtkRIQCaX3g=")
  
      def do(self):
          self.client.new_document(content=self.ctx, format="html", title=self.NextWednesdayN, member_ids=[self.FolderID])
          return "Done!"
  
  if __name__=="__main__":
      NewDocAction = NewDoc()
      NewDocAction.do()
  
new_contents: import datetime
  import quip4aha
  
  class NewDoc(object):
  
      def __init__(self):
          NextWednesday = datetime.datetime.today() + datetime.timedelta(days = 5)
          self.NextWednesdayN = NextWednesday.strftime("%m%d")
          self.NextWednesdayS = NextWednesday.strftime("%B %d")
          if self.NextWednesdayS[-2] == "0":
              self.NextWednesdayS = self.NextWednesdayS[:-2] + self.NextWednesdayS[-1];
          self.ctx = """<p class='line'>Good Morning AHA!<br/>
          It is Wednesday, %s. The weather for today is __. There is a(n) __%% chance of rain. The high temperature today will be __ degrees Celsius, which is __ degrees Fahrenheit.</p>
          <p class='line'>&#8203;</p>
          <p class='line'><b>Now for this week in history:</b></p>
          <p class='line'>&#8203;</p>
          <p class='line'>&#8203;</p>
          <p class='line'><b>In World News:</b></p>
          <p class='line'>&#8203;</p>
          <p class='line'>&#8203;</p>
          <p class='line'><b>Now for the fun facts:</b></p>
          <p class='line'>&#8203;</p>
          <p class='line'>&#8203;</p>
          <p class='line'><b>In AHA News:</b></p>
          <p class='line'>&#8203;</p>
          <p class='line'>&#8203;</p>
          <p class='line'>We will close with this/these verse(s) from</p>
          <p class='line'>&#8203;</p>
          <p class='line'>That is all for today's AHA broadcasting. Thank you for listening, and as always stay classy AHA!</p>
          """ % (self.NextWednesdayS) # &#8203; (or &#x200b;) stands for a place-holder for a blank <p>
          self.client = quip4aha.QuipClient4AHA()
  
      def do(self):
          self.client.new_document(content=self.ctx, format="html", title=self.NextWednesdayN, member_ids=[self.client.AHABC_ID])
          return "Done!"
  
  if __name__=="__main__":
      NewDocAction = NewDoc()
      NewDocAction.do()
  
subject: Change library to quip4aha.py