Created
June 29, 2017 11:14
-
-
Save anonymous/3c322f2986817350d95130091b4d2461 to your computer and use it in GitHub Desktop.
Il programmone bastardone. Piglia il testo presente nella clipboard e lo inverte, all'insaputa dell'ignaro utente :-)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from time import sleep | |
import pyperclip | |
precedente = "" | |
while 1==1: | |
clip = pyperclip.paste() | |
if clip != precedente and clip != precedente[::-1]: | |
precedente = clip | |
pyperclip.copy(clip[::-1]) | |
sleep(0.5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Lei è davvero una persona malvagia