Skip to content

Instantly share code, notes, and snippets.

Created June 29, 2017 11:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3c322f2986817350d95130091b4d2461 to your computer and use it in GitHub Desktop.
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 :-)
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)
@eisterman
Copy link

Lei è davvero una persona malvagia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment