web sound recording with python

2009-10-08 Thread kernus
I need a web-based sound recording application and upload the sound
data to a web server (python cgi?).

the project is web voice search, so the web cgi would be a voice
search server.

any idea about the whole solution(web page and the python cgi)? thanks
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: overrideredirect vs. text entry etc. widget

2009-09-16 Thread kernus
I did, no luck.

but I will keep trying..., :P

I will let you know if some trick works.

Sean DiZazzo wrote:
> On Sep 15, 10:20 pm, kernus  wrote:
> > On Sep 15, 11:42 am, Sean DiZazzo  wrote:
> >
> >
> >
> > > Whats interesting is that if you call overrideredirect from a button
> > > command, it works as expected.  Well, at least the text entry field
> >
> > ^so, Sean, you know how to *click this magic button in
> > the programming way*?
> >
>
> Did you try it?  Did it work?
>
> I tried, using button.invoke(), and a few less obvious ways
> (self.tk.call()...), but couldn't do it programatically.  I don't
> understand why manually clicking the button in the gui is any
> different than calling it's function, or calling invoke().  I'd be
> interested to know.
>
> I also tried calling it from a different thread, or giving the gui
> some time to initialize before calling it.  No love.  Only manually
> clicking it seems to work.
>
> I also found some documentation that clearly states "overrideredirect
> might not work on some platforms."  So I guess I have one of those
> platforms!
>
> ~Sean
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: overrideredirect vs. text entry etc. widget

2009-09-15 Thread kernus
On Sep 15, 11:42 am, Sean DiZazzo  wrote:

>
> Whats interesting is that if you call overrideredirect from a button
> command, it works as expected.  Well, at least the text entry field
^so, Sean, you know how to *click this magic button in
the programming way*?
> behaves for me on Ubuntu...
>
> from Tkinter import *
>
> root = Tk()
>
> def override():
>     if root.overrideredirect():
>         root.overrideredirect(False)
>     else:
>         root.overrideredirect(True)
>
>     root.withdraw()
>     root.deiconify()
>
> Entry(root).pack()
> Button(root, text='Override', command=override).pack()
> root.mainloop()
>
> ~Sean

-- 
http://mail.python.org/mailman/listinfo/python-list


overrideredirect vs. text entry etc. widget

2009-09-14 Thread kernus
I just googled this post:

http://mail.python.org/pipermail/python-list/2006-September/575832.html

something like:

from Tkinter import *

root = Tk()
Entry(root).pack()
Button(root, text='Quit', command=sys.exit).pack()
root.overrideredirect(1)
root.mainloop()

the button works boths under linux(debian) and windows, but the entry
widget only works on windows, any idea?

I am making a skinnalbe music player, so the issue must be solved.
-- 
http://mail.python.org/mailman/listinfo/python-list