title: How to create a clipboard sycle through program?
body: <p>I want to create a Clipboard &quot;recorder&quot;. This is the first step and I have already run into an issue. THis code looks perfectly fine but it returns only a but not b when copying a new word.</p>
  <pre><code>from pyperclip import *
  from time import *
  
  a = paste()
  def b():
      sleep(0.1)
      b = paste()
      print(b)
  b()
  print(a)
  </code></pre>
  <p>I'm confused and kind of a beginner so pls help.</p>