Re: Commercial Products in Python

2008-10-21 Thread Erich
plication is a Windows app, and can use .Net, you may wish to look at how Resolver Systems [1] did it. Their products are written in IronPython, a python implementation for .Net. 1. http://www.resolversystems.com/products/ Regards, Erich -- http://mail.python.org/mailman/listinfo/python-list

Re: Python is slow

2008-05-22 Thread Erich
omeone's mother (especially your own mother). Erich -- http://mail.python.org/mailman/listinfo/python-list

Re: Learning Python for no reason

2008-05-12 Thread Erich
on other constraints of time, energy, money, etc, B could be classified as "unwise learning" Regards, Erich -- http://mail.python.org/mailman/listinfo/python-list

Recurring patterns: Am I missing it, or can we get these added to the language?

2008-04-15 Thread Erich
t_str adds flexibility for string handling, since sometimes I need to iterate over a string, but usually not. I frequently use it to simplify my case handling in this type of costruct: def foo(bar): bar = bar if iterable(bar) else [bar] for x in bar: Thanks for feeback, Erich -

Re: Google App Engine

2008-04-09 Thread Erich
On Apr 9, 3:51 am, Duncan Booth <[EMAIL PROTECTED]> wrote: > The backend data store, while it has a vaguely SQLish query language is an > object database not a relational database, i.e. more like ZODB than MySQL. > It uses similar concepts to django's data api but isn't the same. It should > be po

Re: Self-referencing decorator function parameters

2008-04-02 Thread Erich
aven't had my coffee yet. regards, Erich -- http://mail.python.org/mailman/listinfo/python-list

Re: Pycon disappointment

2008-03-20 Thread Erich
oes. But it makes for a much more > interesting session! > > -- Ed Leafe I'd like to see code listings made available to download where appropriate. That way the slides dont have much hard to read content, and we can look at the bits of code we find tricky as we see fit. And if we get bored with bits, we can play with code! Erich. -- http://mail.python.org/mailman/listinfo/python-list

Re: Generator woes

2008-03-12 Thread Erich
On Mar 13, 12:33 am, Erich <[EMAIL PROTECTED]> wrote: > Hi all, > > I am trying to get the following generator to work to these goals: > > 1. When it recieves an exception (via a throw()) it yeilds the value > of handler.remaining. Otherwise it yeilds None. > 2. Send

Generator woes

2008-03-12 Thread Erich
should be abcabc):',y Output: y (should be None): None y (should be None): None y (should be 1): None y (should be abcabc): abcabc Thanks, Erich -- http://mail.python.org/mailman/listinfo/python-list

Re: Recursive generator

2008-02-13 Thread Erich
rs, but takes function arguments for doing pre- and/or post- order operations on the node (code below). It also yeilds the nodes, but in a postorder manner. The flexibility is quite useful. Regards, Erich def visit(self,prefunc = None, postfunc = None): if prefunc: prefunc(self)

Re: concatenating strings

2006-12-15 Thread Erich Pul
thank you, i just plainly overlooked it ; ) now it works -- http://mail.python.org/mailman/listinfo/python-list

Re: Premature wakeup of time.sleep()

2005-09-21 Thread Erich Schreiber
27;t think of something as trivial as ^C. And thank you Nick Craig-Wood for the shell script to get hands on the HZ value. I had to modify it a little as I do not have /proc/interrupts, but I've got the idea. I measure about 100 and so I have a 10 ms granularity in my VPS as you predicted. E

Premature wakeup of time.sleep()

2005-09-12 Thread Erich Schreiber
e logs I see a about 1% of the wake-up delays beeing negative from -1ms to about -20ms somewhat correlated with the duration of the sleep. 20 minute sleeps tend to wake-up earlier then sub-second sleeps. Can somebody explain this to me? Regards, Erich Schreiber -- http://mail.python.org/mailman/listinfo/python-list