From 32ad1708a9b142f2c558c2888d84adca9e4424b8 Mon Sep 17 00:00:00 2001 From: James Booth Date: Wed, 20 Jul 2016 01:05:34 +0100 Subject: [PATCH] Make paste.py python2 and 3 compatible --- emoticons.py | 3 +++ paste.py | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/emoticons.py b/emoticons.py index 5922029..70d9061 100644 --- a/emoticons.py +++ b/emoticons.py @@ -1,5 +1,8 @@ """ Convert smileys ( :) :( etc) to the Unicode character representation + +Dependencies: +pip install future """ import prof diff --git a/paste.py b/paste.py index a94eded..e91e893 100644 --- a/paste.py +++ b/paste.py @@ -1,10 +1,13 @@ """ Paste the contents of the clipboard when in a chat or room window. + +Dependencies: +pip install future +sudo apt-get python-tk (or python3-tk) """ import prof -import sys -import Tkinter as tk +import tkinter as tk def _cmd_paste():