Make paste.py python2 and 3 compatible

This commit is contained in:
James Booth
2016-07-20 01:05:34 +01:00
parent dfd7b09d9e
commit 32ad1708a9
2 changed files with 8 additions and 2 deletions

View File

@@ -1,5 +1,8 @@
""" """
Convert smileys ( :) :( etc) to the Unicode character representation Convert smileys ( :) :( etc) to the Unicode character representation
Dependencies:
pip install future
""" """
import prof import prof

View File

@@ -1,10 +1,13 @@
""" """
Paste the contents of the clipboard when in a chat or room window. 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 prof
import sys import tkinter as tk
import Tkinter as tk
def _cmd_paste(): def _cmd_paste():