'How to create a clipboard sycle through program?
I want to create a Clipboard "recorder". 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.
from pyperclip import *
from time import *
a = paste()
def b():
sleep(0.1)
b = paste()
print(b)
b()
print(a)
I'm confused and kind of a beginner so pls help.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
