Re: Strange object identity problem

2012-11-12 Thread Robert Franke
Hi Frederic, [...] bas = {} for year in range (2010, 2013): > ba = st.runs ('BA', '%d-01-01' % year, '%d-12-31' % year) > ba.run () > print year, id (ba) > bas [year] = ba > > 2010 150289932 > 2011 150835852 > 2012 149727788 > for y in sorted (bas.keys ()): > b = ba

Re: Python v. Processing

2010-02-10 Thread Robert Franke
Hi Sky, there is a project called pyprocessing (http://code.google.com/p/pyprocessing/) that aims to create a similar environment like processing in python. I am not sure though how advanced this is. Cheers, Robert On Wed, Feb 10, 2010 at 4:29 PM, Sky Larking wrote: > I am a light user of Pyt

Re: PIL: problem to convert an image array to PIL format

2009-12-17 Thread Robert Franke
Hi, On Thu, Dec 17, 2009 at 1:14 PM, Sverre wrote: > After converting a PIL image in memory to an array with numpy.asarray > (), I make a adthreshold() with pymorph() with the result, that all > pixels in the array are either false or true (boolean). But my try to > convert this back into PIL fo

Re: Pyserial and pyQt

2009-07-23 Thread Robert Franke
On Tue, Jul 21, 2009 at 9:37 PM, Seth wrote: > > I have used pyserial in the past but this is my first experience with > pyQt. I am using the Python xy package for windows current but might > move to linux. I have a small device that is outputting a basic text > string. I want to be able to re