new_contents: import clipboard
  filename = 'put_your_filename_here.pyui'  # edit this line before running
  with open(filename) as in_file:
      clipboard.set(in_file.read())
  print('The contents of {} are now on the clipboard.'.format(filename))
  
subject: Put the contents of a pyui file onto the clipboard