Re: Python and webcam capture delay?

2009-07-05 Thread jack catcher (nick)
Tim Roberts kirjoitti: "jack catcher (nick)" wrote: I'm thinking of using Python for capturing and showing live webcam stream simultaneously between two computers via local area network. Operating system is Windows. I'm going to begin with VideoCapture extension, no ideas about other implemen

Re: A Bug By Any Other Name ...

2009-07-05 Thread Gary Herron
Gabriel Genellina wrote: En Mon, 06 Jul 2009 00:28:43 -0300, Steven D'Aprano escribió: On Mon, 06 Jul 2009 14:32:46 +1200, Lawrence D'Oliveiro wrote: I wonder how many people have been tripped up by the fact that ++n and --n fail silently for numeric-valued n. What do you mean,

Re: finding most common elements between thousands of multiple arrays.

2009-07-05 Thread Peter Otten
Scott David Daniels wrote: > Scott David Daniels wrote: > t = timeit.Timer('sum(part[:-1]==part[1:])', > 'from __main__ import part') What happens if you calculate the sum in numpy? Try t = timeit.Timer('(part[:-1]==part[1:]).sum()', 'from __main__ im

Re: Method to separate unit-test methods and data?

2009-07-05 Thread Gabriel Genellina
En Sun, 05 Jul 2009 15:48:06 -0300, Nick Daly escribió: [test_Midpoint_mid] none_values = ((-1, None),               (None, -12.8)) What I haven't yet figured out how to do though, is properly override the default class member values with values from the config file.  The config file's data

Re: multiprocessing and freezing on Windows

2009-07-05 Thread Gabriel Genellina
En Sat, 04 Jul 2009 22:15:43 -0300, SK escribió: To add a bit more information, I found that I needed to patch get_command_line in multiprocessing/forking.py [...] Is packaging with multiprocessing supposed to be this hard? If so, some documentation is needed. Shouldn't be so hard, I presume

<    1   2