platform-independent image copy/paste with Tkinter?
Hi.
Is there a good way to copy from or paste to the clipboard on all
systems running python using Tkinter?
started a small road too it here:
#!/usr/bin/python
__author__="technocake"
__date__ ="$15.mai.2010 15:53:39$"
from Tkinter import *
if __name__ == "__main__":
def displayClipboard(event):
try:
data = event.widget.clipboard_get(type="STRING")
except :
#Need a method for displaying a image here..
data = "Image" #
finally: #Updates the textlabel
lbl.config(text=data)
root = Tk()
lbl= Label(root, width=20)
lbl.bind("", displayClipboard) #binding to leftclick
lbl.pack()
root.mainloop()
--
http://mail.python.org/mailman/listinfo/python-list
Re: sound effects in python
On 19 Mai, 00:05, Astan Chee wrote: > Hi, > I have a sound file (e.g. .wav; .mp3, etc) in python that I'd like to > modify (e.g. change tempo, pitch, add echo, amplify, etc). > Any recommendation on how I can achieve this in python independent of > platform? > Thanks You could have a look on PyAudio : http://people.csail.mit.edu/hubert/pyaudio/ I have not any experience with it, so I can only point you to it for now. Hope you find it useful technocake -- http://mail.python.org/mailman/listinfo/python-list
