Hi!
I've just written a Python speech-recognition module (http://
pyspeech.googlecode.com). It provides a clean and simple interface to
the Microsoft Speech SDK using COM wrapper classes generated by
PythonWin's MakePY utility.
Once this is a mature module, I'd like to make it as useful as
possi
On Aug 4, 2:24 am, gundlach <[EMAIL PROTECTED]> wrote:
> Can I somehow bundle the generated modules into my
> setuptools package so that the wrappers are installed at the same
> time? (If so, how -- just copy them into the package directory?) Or
> are the wrappers targete
The string.join() approach is better for your purpose, but FYI you can
multiply a string to repeat it:
In [2]: "%s\t" * 6
Out[2]: '%s\t%s\t%s\t%s\t%s\t%s\t'
- Michael
On Aug 18, 3:27 am, Bruno Desthuilliers wrote:
> Cameron Simpson a écrit :
>
>
>
> > On 18Aug2008 11:58, Beema Shafreen <[EMAIL
Hi Bruce,
I think I get what you're asking for -- you want to actually end up
with a local variable 'cat' which points to an empty list, so that you
can then do
cat.append('foot')
or whatever.
The problem with the last line of this code (based on your attempt):
foo=[]
foo.append('cat')
foo[0]
I *know* this already exists, but I can't remember where:
def pivot(func, seq):
# I know, a good implementation shouldn't call func() twice per item
return ( (x for x in seq if func(x)), (x for x in seq if not
func(x)) )
I feel like I read a thread in which this was argued to death, and I
can
Hello,
http://bugs.python.org/issue5103 fixed a bug in Python2.6 where SSL's
handshake would hang indefinitely if the remote end hangs.
However, I'm getting hanging behavior in an IMAP script. When I Ctrl-C it
after hours of hanging, I get the same stacktrace as reported in
http://bugs.python.or
Thanks for your reply, Terry.
On Sun, Jun 24, 2012 at 1:12 AM, Terry Reedy wrote:
> On 6/23/2012 1:29 PM, Michael Gundlach wrote:
>
>> Am I do something wrong, or is this bug still not fixed? Any pointers
>
> would be appreciated. Python 2.6.6 (r266:84292, Dec 7 2011, 20:4
Hello again Terry (and mailing list),
On Sun, Jun 24, 2012 at 9:34 AM, Michael Gundlach wrote:
> I've now changed to 2.7.3, and if I don't write back in the next few days,
> it means that that fixed the problem -- thanks for your help! :)
>
The problem still exists in Py
On Mon, Jun 25, 2012 at 4:19 PM, Terry Reedy wrote:
> Issue x ended with the message that the patch to issue y presumably fixed
> issue x as well. I see two choices. (WHere I forget x and y, but they were
> defined in previous posts.)
>
> 1. Post to issue x something like
>
Thanks for your advic