quot; is sufficient.)
>
> Almar
>
>
> On 14 September 2010 13:02, Carlos Grohmann
> wrote:
>>
>> Hello all,
>>
>> i've been trying to build an .exe with py2exe. After many tentatives,
>> it worked, but the total space used by the app goes to
Hello all,
i've been trying to build an .exe with py2exe. After many tentatives,
it worked, but the total space used by the app goes to 30Mb. It is a
simple app, that uses wxpython, matplotlib and numpy. I checked the
library.zip file and notived that there is a pyQt-related file there:
Pyqt - Qt
On 25 ago, 12:40, David Cournapeau wrote:
> On Wed, Aug 25, 2010 at 10:59 PM, Carlos Grohmann
>
Thanks David and Hrvoje. That was the feedback I was looking for.
I am using numpy in my app but in some cases I will use math.pow(),
as some tests with timeit showed that numpy.power was slow
Hi all,
I'd like to hear from you on the benefits of using numpy.power(x,y)
over (x*x*x*x..)
I looks to me that numpy.power takes more time to run.
cheers
Carlos
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for your prompt response, Neil.
> That data doesn't appear to be csv worthy. Why not use str.split
> or str.partition?
Well, I should have said that this is one kind of data. The function
is part of a larger app, and there is the possibility that someone
uses headers in the data files, or
Hi all, I'm using csv to read text files, and its working fine, except
in two cases:
- when there is only one line of text (data) in the file
- when there is a blank line after the last data line
this is the kind of data:
45 67 89
23 45 06
12 34 67
...
and this is the function:
def getData(pa
> Have you tried this with
>
> dip1 = [dp - 0.01 if dp == 90 else dp for dp in dipList]
>
Yes that is better! many thanks!
--
http://mail.python.org/mailman/listinfo/python-list
Hello all
I am testing my code with list comprehensions against for loops.
the loop:
dipList=[float(val[1]) for val in datalist]
dip1=[]
for dp in dipList:
if dp == 90:
dip1.append(dp - 0.01)
else:
dip1.append(dp)
listcomp:
dipList=[float