Re: [EuroPython] pyhton question- distribution

2010-04-27 Thread Luke Kenneth Casson Leighton
On Tue, Apr 27, 2010 at 1:51 PM, Horst Gutmann wrote: > Or give a lightning talk and we could then all go to some local > hardware store and have a nice evening building robots at the > Walkabout :D Robots, Python and beer. Sounds like a perfect evening > ;-) hurrah! :) ... has anyone ported p

Re: [EuroPython] pyhton question- distribution

2010-04-27 Thread Horst Gutmann
Or give a lightning talk and we could then all go to some local hardware store and have a nice evening building robots at the Walkabout :D Robots, Python and beer. Sounds like a perfect evening ;-) Horst On Tue, Apr 27, 2010 at 2:38 PM, Michael Sparks wrote: > Hi Harald, > > > On Fri, Apr 23, 20

Re: [EuroPython] pyhton question- distribution

2010-04-27 Thread Michael Sparks
Hi Harald, On Fri, Apr 23, 2010 at 9:18 AM, Massa, Harald Armin wrote: ... > that gives me the impression that you know  A LOT about building robots & > controlling robots with Python. I think "a lot" is perhaps pushing things. I do know enough to know where the dangers lurk (ie more than "enou

Re: [EuroPython] pyhton question- distribution

2010-04-23 Thread Francisco de Borja Lopez Rio
On Fri, 23 Apr 2010 17:07:56 +0200 Stefan Schwarzer wrote: > Hello Michael and Harald, > > On 2010-04-23 10:18, Massa, Harald Armin wrote: > > Well, first you'd need to build a robot that you could control using > > python. If you wanted to do that yourself, a place to get components > >

Re: [EuroPython] pyhton question- distribution

2010-04-23 Thread Stefan Schwarzer
Hello Michael and Harald, On 2010-04-23 10:18, Massa, Harald Armin wrote: > Well, first you'd need to build a robot that you could control using > python. If you wanted to do that yourself, a place to get components > and parts would be the MUTR website - http://www.mutr.co.uk . Then >

Re: [EuroPython] pyhton question- distribution

2010-04-23 Thread John Pinner
Hi, On 23 April 2010 10:10, Charlie Clark wrote: > Am 23.04.2010, 10:51 Uhr, schrieb Andy Kilner : > > > Not a brummy, but I was there last Friday and can confirm it's the >> same old Welly, you can check for yourself and see the current (live) >> beer board at: >> http://www.thewellingtonrealal

Re: [EuroPython] pyhton question- distribution

2010-04-23 Thread Charlie Clark
Am 23.04.2010, 10:51 Uhr, schrieb Andy Kilner : Not a brummy, but I was there last Friday and can confirm it's the same old Welly, you can check for yourself and see the current (live) beer board at: http://www.thewellingtonrealale.co.uk/ Ta muchly, have to make sure they have "Black Country

Re: [EuroPython] pyhton question- distribution

2010-04-23 Thread Andy Kilner
Not a brummy, but I was there last Friday and can confirm it's the same old Welly, you can check for yourself and see the current (live) beer board at: http://www.thewellingtonrealale.co.uk/ On 23 April 2010 09:28, Charlie Clark wrote: > Am 23.04.2010, 10:18 Uhr, schrieb Massa, Harald Armin : >

Re: [EuroPython] pyhton question- distribution

2010-04-23 Thread Charlie Clark
Am 23.04.2010, 10:18 Uhr, schrieb Massa, Harald Armin : Hi Harald, at last something close to my heart! Or, if that fails: I will spend you some pints (guessing that is what the English are calling their beer?) Close - "buy you a couple of pints" is the phrase. The beers themselves might b

Re: [EuroPython] pyhton question- distribution

2010-04-23 Thread Massa, Harald Armin
Michael, > > Well, first you'd need to build a robot that you could control using > python. If you wanted to do that yourself, a place to get components > and parts would be the MUTR website - http://www.mutr.co.uk . Then > you'd want to be able to interface from python to the robot. For that > yo

Re: [EuroPython] pyhton question- distribution

2010-04-22 Thread Thomas Hunger
Hey Bill, If we have 100 apples, for example, and we need to distrubte the 100 apples > randomly in 10 boxes, how can we do this in python? > I assume the only invariant is sum(box_apples_i) == 100 for 10 boxes? Maybe the following would do? from random import sample partitions = [0] + sorted(s

Re: [EuroPython] pyhton question- distribution

2010-04-22 Thread Michael Sparks
On Thu, Apr 22, 2010 at 12:18 PM, Bill Jordan wrote: > Hey everbody, > > If we have 100 apples, for example, and we need to distrubte the 100 apples > randomly in 10 boxes, how can we do this in python? Well, first you'd need to build a robot that you could control using python. If you wanted to