old_contents: """
      This a nice simple reference implementation when creating new smartcard
      programs using the LL-Smartcard API
  """
  # Navtive
  import logging
  import optparse
  
  # LL Smartcard 
  from llsmartcard.card import SmartCard, VisaCard, CAC
  
  def process_card(connection, options):
      """
          Implement your function here
      """
  
      # Open card
      card = SmartCard(connection)
      #
      #    DO SOMETHING HERE
      #
      
  
  if __name__ == "__main__":
  
      # Import our command line parser
      from llsmartcard import parser
      opts = optparse.OptionParser()
  
      # Add any options we want here
      opts.add_option("-s", "--sample", action="store_true",
          dest="sample", default=False,
          help="Sample")
  
      # parse user arguments
      parser.command_line(opts, process_card)
  
new_contents: # Copyright 2015, MASSACHUSETTS INSTITUTE OF TECHNOLOGY
  # Subject to FAR 52.227-11 – Patent Rights – Ownership by the Contractor (May 2014).
  # SPDX-License-Identifier: BSD-3-Clause
  
  """
      This a nice simple reference implementation when creating new smartcard
      programs using the LL-Smartcard API
  """
  # Navtive
  import logging
  import optparse
  
  # LL Smartcard 
  from llsmartcard.card import SmartCard, VisaCard, CAC
  
  def process_card(connection, options):
      """
          Implement your function here
      """
  
      # Open card
      card = SmartCard(connection)
      #
      #    DO SOMETHING HERE
      #
      
  
  if __name__ == "__main__":
  
      # Import our command line parser
      from llsmartcard import parser
      opts = optparse.OptionParser()
  
      # Add any options we want here
      opts.add_option("-s", "--sample", action="store_true",
          dest="sample", default=False,
          help="Sample")
  
      # parse user arguments
      parser.command_line(opts, process_card)
  
subject: Update template.py