Re: Fedora: Dual Python Versions Installed System Not Picking Up Newer Version

2009-03-25 Thread Doug Morse
On Wed, 25 Mar 2009 19:56:13 -0700 (PDT), *nixtechno wrote: > I have a fedora box and just installed python 2.6.1 along with 2.5.2, > so here's my issue, if I removed the "systems" garbage RPM it would > uninstall all the other crap along with it, so I went ahead and > trunked in and ./configu

Re: A different kind of interface

2009-01-22 Thread Doug Morse
On Thu, 22 Jan 2009 08:13:49 -0800 (PST), Vic Kelson wrote: > > > How about IDLE? It's a nice tool for the Python programmer. I've tried > lots of IDEs, but when it comes down to it, on small-to-medium jobs I > am be very productive indeed using IDLE... > > --v I find Stani's Python Edito

Re: Core Dump - Segmentation Fault -Newbie

2008-07-18 Thread Doug Morse
On Fri, 18 Jul 2008 15:56:10 +0200, Stefan Behnel <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Hi - I am very new to python. I get this random core dump and am > > looking for a good way to catch the error. I know the function my core > > dump occurs. Is there any error catching/handl

Re: Formatting Output

2008-06-02 Thread Doug Morse
On Mon, 2 Jun 2008 12:42:12 -0700 (PDT), Mensanator <[EMAIL PROTECTED]> wrote: > On Jun 2, 3:38 am, Chris <[EMAIL PROTECTED]> wrote: > > On Jun 2, 9:34 am, "[EMAIL PROTECTED]" > > > > <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > i am building a little script and i want to output a series of colu

Re: app runs fine with interpreter, but not under py2exe

2008-03-16 Thread Doug Morse
Hi Harald, Bond here, James Bond. I accepted your mission. :) Unfortunately, the mission failed. Creating a "testapp.py" as you described (i.e., with the suggested import statements) runs just fine with the interpreter. again, however, py2exe does the same thing as the original problem -- that

Re: app runs fine with interpreter, but not under py2exe

2008-03-14 Thread Doug Morse
Thanks, Doug On Fri, 14 Mar 2008 14:37:32 + (UTC), Doug Morse <[EMAIL PROTECTED]> wrote: > Peter, > > Genius! You nailed it -- thanks! > > py2exe is apparently getting confused by the fact that packages "Numeric" > ... > > > So, my next

Re: app runs fine with interpreter, but not under py2exe

2008-03-14 Thread Doug Morse
roblems seem to revolve around confusions when duplicate files exist in different modules. I wouldn't thinking that getting py2exe to pay better attention to the containing modules when building it's dependency tree would be that difficult (or is it)? Cheers, Doug On Fri, 14 Ma

Re: app runs fine with interpreter, but not under py2exe

2008-03-14 Thread Doug Morse
Harald, Great suggestion, thanks! Unfortunately, "no help there". Adding "import multiarray" to Precision.py where you suggested (i.e., before the "from multiarray import zeros" line) did not fix the problem. I'm getting the same exception and traceback as before except, of course, on line 19 n

Re: app runs fine with interpreter, but not under py2exe

2008-03-12 Thread Doug Morse
Hi Harald and C.L.P., Precision.py is part of the Numeric package. AFAIKT, the problem is during the module initialization. The first lines of Precision.py are: from multiarray import zeros import string typecodes = {'Character':'c', 'Integer':'1sil', 'UnsignedInteger':'bwu', 'Float':'fd', 'Co

app runs fine with interpreter, but not under py2exe

2008-03-11 Thread Doug Morse
Hi, I have an application that runs just fine using the standard Python distro interpreter (v2.5.1 on WinXP) but throws the following exception when run as an executable built with py2exe. My questions are: (a) does anyone have any thoughts on why this exception is occurring and what to do about

Re: Newbie: How can I use a string value for a keyword argument?

2008-02-25 Thread Doug Morse
On Mon, 25 Feb 2008 04:20:37 -0800 (PST), John Machin <[EMAIL PROTECTED]> wrote: > On Feb 25, 10:42 pm, Doug Morse <[EMAIL PROTECTED]> wrote: > > Hi, > > > > My apologies for troubling for what is probably an easy question... it's > > just > >

Newbie: How can I use a string value for a keyword argument?

2008-02-25 Thread Doug Morse
Hi, My apologies for troubling for what is probably an easy question... it's just that can't seem to find an answer to this anywhere (Googling, pydocs, etc.)... I have a class method, MyClass.foo(), that takes keyword arguments. For example, I can say: x = MyClass() x.foo(trials=32) Works just

Re: OT: Speed of light [was Re: Why not a Python compiler?]

2008-02-09 Thread Doug Morse
So, showing of my physics ignorance: I presume then that this means that light, say from the sun, is actually sending particles to the earth, since the space between is mostly vacuum? Or is there enough material in the near-vacuum of space for propogation to occur? On Sat, 09 Feb 2008 12:25:51

Re: ISO books of official Python docs

2008-01-09 Thread Doug Morse
Hi Fredrik, I'm terribly confused. You want me to apologize for recommending that someone buy your books? To apologize for noting that they are a quality reference sources for Python? Doug On Wed, 09 Jan 2008 21:59:34 +0100, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > Do

Re: ISO books of official Python docs

2008-01-09 Thread Doug Morse
Several of the O'Reilly & Assoc. books -- such as Python in a Nutshell, The Python Standard Library, etc -- are in large part reproductions of the official docs and references. So, while not exactly what you asked for, the ORA books might be a viable alternative if what you want isn't available.

Re: Is Python really a scripting language?

2007-12-12 Thread Doug Morse
although perhaps not a part of the definition of scripting languages per se, one aspect of them is that they are often used to "glue" a wide variety of other components together. perl's initial and continued success is in no small part to all the wrappers and interfaces it has to all sorts of othe

Re: changing fonts?

2007-12-07 Thread Doug Morse
Hi Jay, I'm not *that* familiar with the Terminal program on OS/X, but regardless perhaps I can point out a possibly useful path to explore... With terminal programs generally -- especially more in the past, as then they were much more about emulating "real" terminals -- a lot of the terminal pro