numpy, numarray, or numeric?

2007-02-15 Thread Christian Convey
I need to bang out an image processing library (it's schoolwork, so I can't just use an existing one). But I see three libraries competing for my love: numpy, numarray, and numeric. Can anyone recommend which one I should use? If one is considered the officially blessed one going forward, that w

Python 2.4/2.5 hang on bad reference?

2006-12-28 Thread Christian Convey
se there's an exception it will get printed to stdout, but as far as I can tell my exception handler is never getting invoked. (Perhaps I'm accidentally crafting my "except" statements too narrowly?) Any ideas? Thanks very much, Christian -- Christian Convey Computer Sci

Anonymous dynamic import

2006-08-28 Thread Christian Convey
Anyone know how to do this?:I want a way to dynamically import modules (module names not known until runtime).  I want to end up with a handle to the resulting module object, without having poluted my global module namespace in the process. Basically I want to something like this:def  call_all_user

Re: Status of optional static typing in Python?

2006-06-22 Thread Christian Convey
m looking for something like interfaces. But even if we disagree about the wisdom of my intentions, do you know if/when Guido's planning to work that stuff into Python? The last post I noticed from him on the topic was from 2005. At least back then he sounded pretty into it. Thanks, Christi

Re: better Python IDE? Mimics Maya's script editor?

2006-06-22 Thread Christian Convey
'm aware of). So for now, I've found just a plain old text editor, plus print statements, to be the right choice for me. -- Christian Convey Computer Scientist, Naval Undersea Warfare Centers Newport, RI (401) 832-6824 [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Status of optional static typing in Python?

2006-06-22 Thread Christian Convey
stian -- Christian Convey Computer Scientist, Naval Undersea Warfare Centers Newport, RI (401) 832-6824 [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: Delays getting data on sys.stdin.readline() ?

2005-11-20 Thread Christian Convey
On 11/19/05, Mike Meyer <[EMAIL PROTECTED]> wrote: > Christian Convey <[EMAIL PROTECTED]> writes: > > I've got a program that (ideally) perpetually monitors sys.stdin for > > lines of text. As soon as a line comes in, my program takes some > > action. > >

Delays getting data on sys.stdin.readline() ?

2005-11-19 Thread Christian Convey
Hello, I've got a program that (ideally) perpetually monitors sys.stdin for lines of text. As soon as a line comes in, my program takes some action. The problem is, it seems like a very large amount of data must accumulate on sys.stdin before even my first invocation of readline() returns. This