code: def init_reddit(creds_path='creds.props') -> praw.Reddit:
      
      with open(creds_path) as f:
          prop_lines = [l.replace('\n','').split('=') for l in f.readlines()]
          f.close()
          props = {l[0]: l[1] for l in prop_lines}
          return praw.Reddit(**props)
docs: Initialize the reddit session by reading the credentials from the file at :code:`creds_path`.
  
      :param creds_path: Properties file with the credentials.
  
      **Example file**::
  
          client_id=CLIENT_ID
          client_secret=CLIENT_SECRET
          password=PASSWORD
          user_agent=USER_AGENT
          username=USERNAME