Re: Multiprocessing: killing children when parent dies

2011-12-03 Thread Jack Keegan
I think the OP meant when the parent gets killed (by ctrl+c or similar), not deleted. At least that's what I think when I think of a program being killed. Is it even possible to send a signal in such a case? Cheers, Jack On Fri, Dec 2, 2011 at 4:27 PM, 8 Dihedral wrote: > Please check Erla

Re: Multiple threads

2011-11-16 Thread Jack Keegan
On Wed, Nov 16, 2011 at 6:30 PM, Dave Angel wrote: > On 11/16/2011 01:22 PM, Dave Angel wrote: > >> (You're top-posting. Put your remarks AFTER what you're quoting) >> >> On 11/16/2011 12:52 PM, Jack Keegan wrote: >> >>> Ok, I thought that pro

Re: Multiple threads

2011-11-16 Thread Jack Keegan
Hi Chris, On Wed, Nov 16, 2011 at 1:55 PM, Chris Angelico wrote: > First off, it's better in CPython (the most popular Python) to use > multiple processes than multiple threads. I had been looking into treads and process/subprocess myself a while ago and couldn't decide which would suit what I

Re: Opportunity missed by Python ?

2011-11-15 Thread Jack Keegan
On Thu, Oct 13, 2011 at 11:07 AM, Chris Angelico wrote: > On Thu, Oct 13, 2011 at 8:45 PM, candide wrote: > > Dart is the very new language created by Google to replace Javascript. > > So Python was not able to do the job? Or may be they don't know about > Python > > at Google ;) ? > > > > Also,

Chaco for real-time plot of PySerial data

2011-11-01 Thread Jack Keegan
Hi there, I asked this question on the enthought chaco mailing list some time last by have yet to receive a reply. Thought I'd ask here to see if anyone could shed some light on things for me. I have been considering using chaco / traits for close to a year now and am finally biting the bullet so

Re: TestFixtures 1.8.0 Released!

2011-01-14 Thread Jack Keegan
Hi Chris, Thanks for that. I'll give it a go. Cheers, Jack On Fri, Jan 14, 2011 at 2:49 PM, Chris Withers wrote: > Hi Jack, > > > On 14/01/2011 14:39, Jack Keegan wrote: > >> objects. In particular, at the moment, testing some code that needs to >> access ha

Re: TestFixtures 1.8.0 Released!

2011-01-14 Thread Jack Keegan
Appologies, please read the 2nd last line as: Can you give me an indication of how you would go about doing this with TestFixtures? :) Thanks Jack On Fri, Jan 14, 2011 at 2:39 PM, Jack Keegan wrote: > I'm new to python and have just been looking into a solution for Mocking >

Re: TestFixtures 1.8.0 Released!

2011-01-14 Thread Jack Keegan
I'm new to python and have just been looking into a solution for Mocking objects. In particular, at the moment, testing some code that needs to access hardware IOs using DLLs. I do this using Ctypes. However, on my dev machine, I don't have the same hardware so calling the DLL functions will not wo

Re: To Thread or not to Thread....?

2010-12-01 Thread Jack Keegan
Hi Antoine, On Wed, Dec 1, 2010 at 9:24 AM, Antoine Pitrou wrote: > > > The main question IMO: the I2C bus operates at 400kHz, but how much > received data can it buffer? That will give you a hint as to how much > latency you can tolerate. > I'm not sure on buffering, but I have to ask the device

To Thread or not to Thread....?

2010-11-30 Thread Jack Keegan
Hi there, I'm currently writing an application to control and take measurements during an experiments. This is to be done on an embedded computer running XPe so I am happy to have python available, although I am pretty new to it. The application basically runs as a state machine, which transitions

Re: unittests with different parameters

2010-11-24 Thread Jack Keegan
Apologies if this is a bit off the wall but I've only just started getting into unit testing (in Python) this morning. Would generators help you in any way? You might be able to have a generator which would yield an attribute set combination each time it is called. I'm not sure if it would still st

State Machines in Python

2010-09-04 Thread Jack Keegan
Hi girls & guys, Just joined the group. I'm new to Python but been picking it up pretty easy. I love it! I'm hoping to use it to make a controlling application for an experiment. Basically I want to use it to interface with some data acquisition (DAQ) hardware to accept incoming signals and respon