Make paste.py python2 and 3 compatible
This commit is contained in:
@@ -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
|
||||||
|
|||||||
7
paste.py
7
paste.py
@@ -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():
|
||||||
|
|||||||
Reference in New Issue
Block a user