[Tkinter-discuss] tkSnack record for specific period of time

2010-01-19 Thread skizm
I am currently trying to write a code snippet that will record for a set period of time and I have tried a number of methods to do this yet none have worked, the first one I tried is listed below. from Tkinter import * import time root = Tk() import tkSnack tkSnack.initializeSnack(root) c = tkSn

Re: [Tkinter-discuss] tkSnack record for specific period of time

2010-01-19 Thread Michael O'Donnell
Hi Shawn, Maybe try doing the recording in a separate thread: http://www.python.org/doc/current/library/thread.html Mick On Tue, Jan 19, 2010 at 12:57 AM, skizm wrote: > > I am currently trying to write a code snippet that will record for a set > period of time and I have tried a number of met

Re: [Tkinter-discuss] tkSnack record for specific period of time

2010-01-19 Thread Michael Lange
Hi, On Mon, 18 Jan 2010 15:57:06 -0800 (PST) skizm wrote: > > I am currently trying to write a code snippet that will record for a > set period of time and I have tried a number of methods to do this > yet none have worked, the first one I tried is listed below. > > from Tkinter import * > imp

Re: [Tkinter-discuss] tkSnack record for specific period of time

2010-01-19 Thread skizm
Cool this works, I was working on the threading idea but this is much simpler. Earlier i had tried the after function but I had it tied to the frame object instead of the root object which made it not work for some reason. Thanks a lot for the help! Michael Lange wrote: > > Hi, > > On Mon, 18