new_contents: #! python3
  # P02_mcb.pyw - Saves and loads pieces of text to the clipboard.
  # Usage: py.exe P02_mcb.pyw save <keyword> - Saves clipboard to keyword.
  #        py.exe P02_mcb.pyw <keyword> - Loads keyword to clipboard.
  #        py.exe P02_mcb.pyw list - Loads all keywords to clipboard.
  
  import shelve, books.CrackingCodesWithPython.pyperclip, sys
  
  mcbShelf = shelve.open('mcb')
  
  # Save clipboard content.
  if len(sys.argv) == 3 and sys.argv[1].lower() == 'save':
      mcbShelf[sys.argv[2]] = books.CrackingCodesWithPython.pyperclip.paste()
  elif len(sys.argv) == 2:
      # List keywords and load content.
      if sys.argv[1].lower() == 'list':
          books.CrackingCodesWithPython.pyperclip.copy(str(list(mcbShelf.keys())))
      elif sys.argv[1] in mcbShelf:
          books.CrackingCodesWithPython.pyperclip.copy(mcbShelf[sys.argv[1]])
  
  mcbShelf.close()
  
subject: Initialize P02_mcb.pyw