[Tutor] Python to exe--how much work?

2008-06-24 Thread Keith Suda-Cederquist
Hi All, Question: How hard is it to convert python code to an exe? Details: I've written some test software in python for my company.  We'd like to be able to distribute the software without having to install python on the instrument computer. The software itself is several hundred lines of co

Re: [Tutor] Memory Leak?

2008-05-13 Thread Keith Suda-Cederquist
Sorry for not responding sooner. I took the advice to add these two lines to my code: import matplotlib matplotlib.use('Agg') -Keith Jeff Younker <[EMAIL PROTECTED]> wrote: > I followed the advice on this page: http://mail.python.org/pipermail/python-list/2006-December/417208.html > and the

Re: [Tutor] Memory Leak?

2008-05-07 Thread Keith Suda-Cederquist
ound? Can anyone suggest a better way for me to implement plotting using pylab/matplotlib in the future? Thanks, Keith Tony Cappellini <[EMAIL PROTECTED]> wrote: Message: 5 Date: Wed, 7 May 2008 16:18:23 -0400 From: "Michael Langford" <[EMAIL PROTECTED]> Subject: Re: [Tuto

[Tutor] Memory Leak?

2008-05-07 Thread Keith Suda-Cederquist
Hi, I'm doing some image processing using PIL and SciPy. Individual images are 2000x2000 pixels with each pixel being 16 bits, so a single image is around 7 MB in size. I've noticed that while my code is running the amount of memory being used (as reported by Windows Task Manager) by Python gr

Re: [Tutor] Python oddity

2008-02-28 Thread Keith Suda-Cederquist
Hey all, thanks for all the responses. I think I get the gist of just about everything. One thing to mention though is that I'm mainly working with scipy so most of what I'm working with in numpy.ndarrays. I think most of what was mentioned with respect to lists applies equally to numpy.ndarr

[Tutor] Python oddity

2008-02-27 Thread Keith Suda-Cederquist
Hi, I'm using iPython and I've run into an occasional problem that I don't understand. Here is what I'm seeing: >>aa=range(0,10) >>bb=aa >>print aa [0,1,2,3,4,5,6,7,8,9] >>print bb [0,1,2,3,4,5,6,7,8,9] >> # okay, everything allright at this point >>bb[5]=0 #change bb >>print aa [0,1,2,3,4,0,6