Books to begin learning Python

2008-08-06 Thread Edward Cormier
Which computer books are the best to begin learning Python 2.5 with? I've heard that Learning Python 3rd Edition is a good choice - can anyone give any more advice on this? Thanks. -- http://mail.python.org/mailman/listinfo/python-list

Problems with running Python CGI Scripts

2008-09-03 Thread Edward FISHER
Hey guys. Im having problems running a python cgi. Im using the example code from: http://www.python.org/doc/essays/pp...east/sld041.htm as writen by Van Rossum himself I can get the script to run the python script but all that happens is that the black python box appears then disapears, the htm

How should variables' docstrings be written?

2006-03-17 Thread Edward Loper
ments with the special marker "#:". The comment-docstrings can be placed before the assignment, after it on the same line, or within the value (or any combination thereof). So.. Which conventions do people prefer? -Edward -- http://mail.python.org/mailman/listinfo/python-list

Re: [Edu-sig] teaching python using turtle module

2009-11-29 Thread Edward Cherlin
for TA tiles to your environment. > thanks, > Brian Blais > -- > Brian Blais > bbl...@bryant.edu > http://web.bryant.edu/~bblais > > > > _______ > Edu-sig mailing list > edu-...@python.org > http://mail.python.org/mailma

Re: Please help with regular expression finding multiple floats

2009-10-23 Thread Edward Dolan
On Oct 22, 3:26 pm, Jeremy wrote: > My question is, how can I use regular expressions to find two OR three > or even an arbitrary number of floats without repeating %s?  Is this > possible? > > Thanks, > Jeremy Any time you have tabular data such as your example, split() is generally the first ch

Re: Please help with regular expression finding multiple floats

2009-10-23 Thread Edward Dolan
I can see why this line could wrap > 1.E-08 1.58024E-06 0.0048 1.E-08 1.58024E-06 > 0.0048 But this one? > 1.E-07 2.98403E-05 > 0.0018 anyway, here is the code -> http://codepad.org/Z7eWBusl -- http://mail.python.org/mailman/listinfo/python-list

Re: Please help with regular expression finding multiple floats

2009-10-23 Thread Edward Dolan
No, you're not missing a thing. I am ;) Something was happening with the triple-quoted strings when I pasted them. Here is hopefully, the correct code. http://codepad.org/OIazr9lA The output is shown on that page as well. Sorry for the line noise folks. One of these days I'm going to learn gnus. -

Re: [Edu-sig] Method / Functions - What are the differences?

2010-03-10 Thread Edward Cherlin
mailing list > edu-...@python.org > http://mail.python.org/mailman/listinfo/edu-sig > -- Edward Mokurai (默雷/धर्ममेघशब्दगर्ज/دھرممیگھشبدگر ج) Cherlin Silent Thunder is my name, and Children are my nation. The Cosmos is my dwelling place, the Truth my destination. http://www.earthtreasury.org/ -- http://mail.python.org/mailman/listinfo/python-list

using trace to do 'in place' evaluation of variables

2010-12-07 Thread Edward Peschko
All, I've been using the trace module for python (as per http://www.dalkescientific.com/writings/diary/archive/2005/04/20/tracing_python_code.html), and would very much like to have a feature there that I've implemented for perl already. Namely, I would like output in the format as described on t

completely implicit interpolation based on a frame object

2010-12-07 Thread Edward Peschko
All, Ok, it looks like in order to implement a tracer that does interpolation, I'm going to have to hack around with frames. Perl's interpolation is fairly straightforward, to do interpolation of $a == 1 all you need to do is put quotes around "$a == 1" to have $a evaluated. So, I'd like to do t

Re: completely implicit interpolation based on a frame object

2010-12-08 Thread Edward Peschko
>> Any ideas would be great on this, including pitfalls that people see >> in implementing it. >> > http://docs.python.org/library/string.html#template-strings > > regards >  Steve Steve, Thanks for the tip, I did look at templates and decided that they weren't quite completely what I was looking

Re: completely implicit interpolation based on a frame object (nn)

2010-12-09 Thread Edward Peschko
>> a bit closer here, but I'm not sure if they are >> workable (or usable) with 2.5... which is where I need to work. >> >> Ed > > One of the solutions from here might work for you: > > http://wiki.python.org/moin/Templating > Ok, cool. A couple of followups - I'd be interested in knowing which of

Re: [Edu-sig] [ANNC] pynguin-0.7 (python turtle graphics application)

2010-04-11 Thread Edward Cherlin
t; > Changes in pynguin-0.5: >     - catch errors when processing graphic move queue >     - capture and hold stdout and stderr >     - call str() on argument to write >     - guard against sending non-int to color > > > _ > Hotmail: Trusted email with Mic

Re: [Edu-sig] [ANNC] pynguin-0.7 (python turtle graphics application)

2010-04-11 Thread Edward Cherlin
ow much of the Standard Library turtle model gets used here. > Is the turtle stuff all rewritten from scratch. > > Kirby > ___ > Edu-sig mailing list > edu-...@python.org > http://mail.python.org/mailman/listinfo/edu-sig > -- Ed

Difference between import in script and from interpreter

2010-07-18 Thread Edward Diener
In a python script a: from xxx.yyy.zzz import aaa fails with the message: "ImportError: No module named xxx.yyy.zzz" but from within the python interpreter the same line succeeds. What would be the causes of that ? From within the python interpreter I have looked at sys.path and xxx.yyy.zz

Different python versions confusion under Windows Vista x64

2010-07-19 Thread Edward Diener
In Windows Vista x64 I have installed python 2.6 64-bit version and python 3.1 64-bit version to separate folders. Within the command interpreter I add python 2.6 to the PATH. In the command interpreter, When I type python somescript.py with an import sys print (sys.version) in the script, it

Re: Different python versions confusion under Windows Vista x64

2010-07-19 Thread Edward Diener
On 7/19/2010 9:15 AM, Alf P. Steinbach /Usenet wrote: * Edward Diener, on 19.07.2010 14:53: In Windows Vista x64 I have installed python 2.6 64-bit version and python 3.1 64-bit version to separate folders. Within the command interpreter I add python 2.6 to the PATH. In the command interpreter

Re: Different python versions confusion under Windows Vista x64

2010-07-19 Thread Edward Diener
On 7/19/2010 5:45 PM, Edward Diener wrote: On 7/19/2010 9:15 AM, Alf P. Steinbach /Usenet wrote: * Edward Diener, on 19.07.2010 14:53: In Windows Vista x64 I have installed python 2.6 64-bit version and python 3.1 64-bit version to separate folders. Within the command interpreter I add python

Multiple versions of Python coexisting in the same OS

2010-07-23 Thread Edward Diener
Are there any documents about multiple versionsof Python coexisting in the same OS ( Windows in my case ) and what pitfalls to look out for ? I have already run into a number of them. I installed Python 2.7 and 3.1.2 into completely folders, but immediately ran into serious problems executing a

Re: Multiple versions of Python coexisting in the same OS

2010-07-24 Thread Edward Diener
On 7/24/2010 6:25 AM, Mark Lawrence wrote: On 24/07/2010 04:17, Edward Diener wrote: Are there any documents about multiple versionsof Python coexisting in the same OS ( Windows in my case ) and what pitfalls to look out for ? I have already run into a number of them. I installed Python 2.7 and

Re: Multiple versions of Python coexisting in the same OS

2010-07-24 Thread Edward Diener
On 7/24/2010 6:25 AM, Mark Lawrence wrote: On 24/07/2010 04:17, Edward Diener wrote: Are there any documents about multiple versionsof Python coexisting in the same OS ( Windows in my case ) and what pitfalls to look out for ? I have already run into a number of them. I installed Python 2.7 and

Re: Multiple versions of Python coexisting in the same OS

2010-07-25 Thread Edward Diener
On 7/25/2010 6:07 AM, Gelonida wrote: Hi Edward, On 07/25/2010 04:40 AM, Edward Diener wrote: I found the solutions too exotic for actual use, and completely ineffectual for the cases I originally cited. The people in that thread seem to have completely forgotten that Python can be invoked

Re: Multiple versions of Python coexisting in the same OS

2010-07-25 Thread Edward Diener
On 7/25/2010 2:20 AM, Steven D'Aprano wrote: On Sat, 24 Jul 2010 22:03:48 -0700, Chris Rebert wrote: Are the .py and .pyc extensions the only ones which are associated with Python or are there others, for a normal Python installation in Windows ? There's also .pyw Also .pyo .py = Python so

Re: Multiple versions of Python coexisting in the same OS

2010-07-25 Thread Edward Diener
On 7/25/2010 1:51 PM, Joel Goldstick wrote: Edward Diener wrote: Are there any documents about multiple versionsof Python coexisting in the same OS ( Windows in my case ) and what pitfalls to look out for ? I have already run into a number of them. I installed Python 2.7 and 3.1.2 into

Re: Multiple versions of Python coexisting in the same OS

2010-07-25 Thread Edward Diener
On 7/25/2010 10:03 AM, Thomas Jollans wrote: On 07/25/2010 02:46 PM, Edward Diener wrote: The problem with this is that you forget that a script can invoke Python internally. So whether one uses the console or file association method of invoking Python externally, any already written script can

Re: Multiple versions of Python coexisting in the same OS

2010-07-25 Thread Edward Diener
On 7/25/2010 10:31 AM, News123 wrote: On 07/25/2010 02:46 PM, Edward Diener wrote: On 7/25/2010 6:07 AM, Gelonida wrote: There the windows solution could be something like a small 'pystarter' program, which would decide depending on the file's location / the file's fir

Re: Multiple versions of Python coexisting in the same OS

2010-07-25 Thread Edward Diener
On 7/25/2010 3:32 PM, Thomas Jollans wrote: On 07/25/2010 09:19 PM, Edward Diener wrote: On 7/25/2010 10:03 AM, Thomas Jollans wrote: On 07/25/2010 02:46 PM, Edward Diener wrote: The problem with this is that you forget that a script can invoke Python internally. So whether one uses the

Re: Multiple versions of Python coexisting in the same OS

2010-07-25 Thread Edward Diener
On 7/25/2010 3:39 PM, Christian Heimes wrote: Am 25.07.2010 21:32, schrieb Thomas Jollans: If a script uses sys.executable instead of "python", there is no problem, at all. It's true that sys.executable is the best way if you have to start a new Python interpreter. However sys.executable may n

Re: Multiple versions of Python coexisting in the same OS

2010-07-25 Thread Edward Diener
On 7/25/2010 4:22 PM, News123 wrote: On 07/25/2010 09:33 PM, Edward Diener wrote: On 7/25/2010 10:31 AM, News123 wrote: On 07/25/2010 02:46 PM, Edward Diener wrote: On 7/25/2010 6:07 AM, Gelonida wrote: How does a 'pystarter' program know where the file's location is

Re: Multiple versions of Python coexisting in the same OS

2010-07-25 Thread Edward Diener
On 7/25/2010 4:26 PM, News123 wrote: On 07/25/2010 10:18 PM, Thomas Jollans wrote: On 07/25/2010 10:04 PM, News123 wrote: sOn 07/25/2010 09:39 PM, Christian Heimes wrote: Am 25.07.2010 21:32, schrieb Thomas Jollans: If a script uses sys.executable instead of "python", there is no problem, at

Re: Multiple versions of Python coexisting in the same OS

2010-07-25 Thread Edward Diener
On 7/25/2010 5:57 PM, Thomas Jollans wrote: On 07/25/2010 11:10 PM, Edward Diener wrote: On 7/25/2010 3:39 PM, Christian Heimes wrote: Am 25.07.2010 21:32, schrieb Thomas Jollans: If a script uses sys.executable instead of "python", there is no problem, at all. It's true that

Re: Multiple versions of Python coexisting in the same OS

2010-07-25 Thread Edward Diener
On 7/25/2010 8:41 PM, Steven D'Aprano wrote: On Sun, 25 Jul 2010 15:19:53 -0400, Edward Diener wrote: On 7/25/2010 10:03 AM, Thomas Jollans wrote: On 07/25/2010 02:46 PM, Edward Diener wrote: The problem with this is that you forget that a script can invoke Python internally. So whethe

Re: Multiple versions of Python coexisting in the same OS

2010-07-25 Thread Edward Diener
On 7/25/2010 10:42 PM, David Robinow wrote: On Sun, Jul 25, 2010 at 8:40 PM, Edward Diener wrote: On 7/25/2010 5:57 PM, Thomas Jollans wrote: So if a standard library module ( or distributed library ) executes a call internally to 'python xxx yyy' or executes a call int

Re: Why is python not written in C++ ?

2010-08-05 Thread Edward Diener
On 8/2/2010 5:42 PM, Mark Lawrence wrote: On 02/08/2010 00:08, candide wrote: Python is an object oriented langage (OOL). The Python main implementation is written in pure and "old" C90. Is it for historical reasons? C is not an OOL and C++ strongly is. I wonder if it wouldn't be more suitable

Trouble with running java using Popen

2009-06-23 Thread Edward Grefenstette
: - Exception in thread "main" java.lang.NoClassDefFoundError: SemanticVectorsEvaluator - I have no idea why this isn't working. Anyone have any suggestions as to how I might troubleshoot this? Best, Edward -- http://mail.python.org/mailman/listinfo/python-list

Re: Trouble with running java using Popen

2009-06-23 Thread Edward Grefenstette
oggisch" wrote: > Edward Grefenstette schrieb: > > > > > I have a java prog I need to run at some point during the execution of > > a python module. > > > The path to the folder containing the all the relevant java stuff > > (which runs fine from the comman

trace options

2009-06-25 Thread Edward Peschko
All, I've been looking at the trace module, and although it looks useful, I'm surprised that there aren't a couple of features that I would have thought would be fairly basic. So, does trace support (for the --trace option): - indentation tracking stacklevel (where each function is prefixed

Re: Help needed with Windows Service in Python

2010-09-02 Thread Edward Kozlowski
main__': >    win32serviceutil.HandleCommandLine(PythonService) Looks to me like there may be a typo in your code. You probably meant win32event.SetEvent(self.hWaitStop), not wind32event. Regards, -Edward Kozlowski -- http://mail.python.org/mailman/listinfo/python-list

Re: Help needed with Windows Service in Python

2010-09-02 Thread Edward Kozlowski
On Sep 2, 2:38 pm, Ian wrote: >   On 02/09/2010 20:06, Edward Kozlowski wrote: > > > > > On Sep 2, 10:22 am, Ian Hobson  wrote: > >> Hi All, > > >> I am attempting to create a Windows Service in Python. > > >> I have the framework (from Mark Ha

Database problems

2010-09-06 Thread Edward Grefenstette
with very large sets of data? If not, is there a more optimal tool for my needs? Or is the problem unrelated and has something to do with my lab computer? Best, Edward -- http://mail.python.org/mailman/listinfo/python-list

Frustrating segfaults with Shelf

2010-09-13 Thread Edward Grefenstette
)] = rels" with "print rels" it works just fine. However every time I try to run it just inexplicably segfaults. Help, anyone? Best, Edward from WNvectorBuilder import relBuilder import sys import cPickle as pickle import shelve def main(argv

Re: Frustrating segfaults with Shelf

2010-09-13 Thread Edward Grefenstette
Dear Emile, Thank you for your response. Upgrading python and starting with a blank database somehow did the trick! Best, Edward On Sep 13, 7:09 pm, Emile van Sebille wrote: > On 9/13/2010 10:05 AM Edward Grefenstette said... > > > Dear Pythonistas, > > > Below is a sim

GUI Designer[s]

2017-06-25 Thread Edward Montague
I've become a bit more familiar with wxglade , wxFormBuilder and to a lesser extent BoaConstructor. There are however numerous other possiblities and extensions . I'd like to eventually have 3D graphics within an application constructed through a GUI Designer ; preferably with quality approach

Python equivalent to the "A" or "a" output conversions in C

2012-06-19 Thread Edward C. Jones
Consider the following line in C: printf('%a\n', x); where x is a float or double. This outputs a hexadecimal representation of x. Can I do this in Python? -- http://mail.python.org/mailman/listinfo/python-list

Re: Python equivalent to the "A" or "a" output conversions in C

2012-06-19 Thread Edward C. Jones
On 06/19/2012 12:41 PM, Hemanth H.M wrote: >>> float.hex(x) '0x1.5p+3' Some days I don't ask the brightest questions. Suppose x was a numpy floating scalar (types numpy.float16, numpy.float32, numpy.float64, or numpy.float128). Is there an easy way to write x in binary or hex?

ANN: Leo 4.10 b1 released

2012-03-22 Thread Edward K. Ream
Leo 4.10 b1 is now available at: http://sourceforge.net/projects/leo/files/ Leo is a text editor, data organizer, project manager and much more. http://webpages.charter.net/edreamleo/intro.html Leo 4.10 contains 9 months of intense work on Leo. Several very important features are subtle; you coul

ANN: Leo 4.10 final released

2012-04-02 Thread Edward K. Ream
eo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream ------ Edward K. Ream email: edream...@gmail.com Leo: http://webpages.charter.net/edreamleo/front.html -

Using modules from Debian "python3-..." packages with locally compiled Python 3.3

2012-05-08 Thread Edward C. Jones
I use up-to-date Debian testing (wheezy), amd64 architecture. I downloaded, compiled and installed Python 3.3.0 alpha 3 (from python.org) using "altinstall". Debian wheezy comes with python3.2 (and 2.6 and 2.7). I installed the Debian package "python3-bs4" (BeautifulSoup4 for Python3). Note: De

Re: Using modules from Debian "python3-..." packages with locally compiled Python 3.3

2012-05-08 Thread Edward C. Jones
Terry Reedy said: > Question 1: if you use the .pth method, do you get the same result? (I expect you will, but good to > check.) Recompiled Pyhton 3.3 without the SITEPATH change. Same result: > python3.3 Python 3.3.0a3 (default, May 8 2012, 19:57:45) [GCC 4.6.3] on linux Type "help", "cop

Hashable object with self references OR how to create a tuple that refers to itself

2012-06-15 Thread Edward C. Jones
I am trying to create a collection of hashable objects, where each object contains references to other objects in the collection. The references may be circular. To simplify, one can define x= list() x.append(x) which satisfies x == [x]. Can I create a similar object for tuples which sa

Leo 4.9 b4 released

2011-06-14 Thread Edward K. Ream
ad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream June 14, 2011 -- http://mail.python.org/mailman/listinfo/python-list

ANN: Leo 4.9 final released

2011-06-21 Thread Edward K. Ream
ogle.com/group/leo-editor Download: http://sourceforge.net/projects/leo/files/ Bzr: http://code.launchpad.net/leo-editor/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream June 21, 2011 -- http://mail.python.org/mailman/listinfo/python-list

ANN: Leo 4.4a1 released

2005-10-17 Thread Edward K. Ream
nload: http://sourceforge.net/project/showfiles.php?group_id=3458 CVS: http://sourceforge.net/cvs/?group_id=3458 Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream October 17, 2005 ---- Edward K. Ream

ANN: Leo 4.4a2 released

2005-11-03 Thread Edward K. Ream
Vim and other 'plain-key' input modes. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Home: http://sourceforge.net/projects/leo/ Download: http://sourceforge.net/project/showfiles.php?group_id=3458 CVS: http://sourceforge.net/cvs/?group_id=3458 Quotes: htt

ANN: Leo 4.4a2 withdrawn

2005-11-05 Thread Edward K. Ream
Leo 4.4a2 has been withdrawn due to problems that can cause Leo to lose what you have recently typed. Leo 4.4a3 will be released in about a week. Edward Edward K. Ream email: [EMAIL PROTECTED] Leo: http

Problem with __str__ if baseclass is list

2005-11-12 Thread Edward C. Jones
#! /usr/bin/env python class A(list): def __init__(self, alist, n): list.__init__(self, alist) self.n = n def __str__(self): return 'AS(%s, %i)' % (list.__str__(self), self.n) def __repr__(self): return 'AR(%s, %i)' % (list.__repr__(self), self.

ANN: Leo 4.4a4 released

2005-12-06 Thread Edward K. Ream
e the keyboard. - Support for Vim and other 'plain-key' input modes. ---- Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/edreamleo/front.html -

ANN: Leo 4.3-a1 released

2005-01-24 Thread Edward K. Ream
cOs X. Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Home: http://sourceforge.net/projects/leo/ Download: http://sourceforge.net/project/showfiles.php?group_id=3458 CVS: http://sourceforge.net/cvs/?group_id=3458 Quotes: http://webpages.charter.net/edreamleo/test

Leo 4.3.1 released

2005-06-21 Thread Edward K. Ream
http://sourceforge.net/projects/leo/ Download: http://sourceforge.net/project/showfiles.php?group_id=3458 CVS: http://sourceforge.net/cvs/?group_id=3458 Quotes: http://webpages.charter.net/edreamleo/testimonials.html -----

__new__, __init__ and pickle

2005-06-29 Thread Edward C. Jones
Suppose I want to define the class MyClass so I can create an instance by MyClass(arg0, arg1, kwarg0=None, kwarg1=0, reuse=None, save=None) If reuse is not None, it is the name of a pickle file. Unpickle the file to get the instance. If save is not None, it is a file name. Pickle the instanc

New docs for Leo

2005-09-09 Thread Edward K. Ream
/forum.php?forum_id=10226 Edward Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/edreamleo/front.html -- http://mail.python.org

ANN: Leo 4.3.2 beta 1

2005-09-12 Thread Edward K. Ream
t3 see: http://webpages.charter.net/edreamleo/rstplugin3.html - The spellpyx (spell checking) plugin is now much easier to use. - The vim and openWith plugins now use Python's subprocess module if it is present. - Improved the Pretty Printing command. - The usual assortment of bug fix

ANN: Leo 4.3.3 released

2005-09-21 Thread Edward K. Ream
nt. - Improved the Pretty Printing command. - The usual assortment of bug fixes. Edward ---- Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/e

ANN: Leo 4.3-a3 Outlining IDE

2005-02-25 Thread Edward K. Ream
Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Home: http://sourceforge.net/projects/leo/ Download: http://sourceforge.net/project/showfiles.php?group_id=3458 CVS: http://sourceforge.net/cvs/?group_id=3458 Quotes: http://webpages.charter.net/edreamleo/tes

Re: Leo 4.3-a3 Outlining IDE

2005-02-25 Thread Edward K. Ream
I really only posted this once to comp.lang.python. The duplicate appears to be the work of the Department of Redundancy Department. Edward Edward K. Ream email: [EMAIL PROTECTED] Leo: Literate Editor with Outlines Leo

Re: Python 3.0

2004-12-14 Thread Edward C. Jones
Chris wrote: Okay, color me stupid, but what is everyone referencing when they mention Python 3.0? I didn't see any mention of it on the Python site. http://www.python.org/peps/pep-3000.html (which happens to be the first hit if you search for "python 3.0" in the search box on python.org...) Oka

When was extended call syntax introduced?

2004-12-21 Thread Edward K. Ream
7;s new in Python' or the pep's has turned up this information. Thanks. Edward ---- Edward K. Ream email: [EMAIL PROTECTED] Leo: Literate Editor with Outlines Leo: http://webpages.charter.net/

Re: When was extended call syntax introduced?

2004-12-22 Thread Edward K. Ream
> > That was in Python 2.0, see Thanks very much, Martin. -- http://mail.python.org/mailman/listinfo/python-list

Module subprocess: How to "communicate" more than once?

2005-04-01 Thread Edward C. Jones
I have a program named "octave" (a Matlab clone). It runs in a terminal, types a prompt and waits for the user to type something. If I try # Run octave. oct = subprocess.Popen("octave", stdin=subprocess.PIPE) # Run an octave called "startup". oct.communicate("startup") # Change directory inside o

numarray.array can be VERY slow

2005-04-10 Thread Edward C. Jones
#! /usr/bin/env python """Should this program take 4.3 seconds to run? I have a Linux PC with an AMD Athlon XP 2000+ chip (1.7Gh). I use Python 2.4.1 and numarray 1.2.3, both compliled from source.""" import time, numarray from numarray.numerictypes import * nested = [] for i in range(8):

Re: numarray.array can be VERY slow

2005-04-10 Thread Edward C. Jones
Steven Bethard wrote: > As mentioned, this has nothing to do with numarray, and everything to > do with your inexplicable use of lists. Why don't you just write this > as: > > arr = numarray.ones((8, 8, 256, 256), Float64) The code I posted was simplified from a larger program which I have now re

Does numarray search for blas and lapack during installation?

2005-04-23 Thread Edward C. Jones
I have a PC with Debian sid installed. I install all my Python stuff in /usr/local. I just installed numarray 1.3.1. Blaslite and lapacklite were compiled. Did the installation process search for blas and lapack? -- http://mail.python.org/mailman/listinfo/python-list

Lexicographical sort for numarray

2005-04-26 Thread Edward C. Jones
Suppose arr is a two dimensional numarray array. Suppose we do the following: def rowsort(arr): a = arr.tolist() a.sort() return numarray.array(a) Can this sort be done efficiently in numarray? This function is called "rowsort" in MatLab. -- http://mail.python.org/mailman/listinfo/py

Announcement: mrquery finds duplicate images

2005-12-19 Thread Edward C. Jones
I have uploaded "mrquery.05.12.19.tgz"' to my web page "http://members.tripod.com/~edcjones/pycode.html";. "mrquery" finds the duplicate images in a collection of images. It implements a variant of the algorithm in "Fast Multiresolution Image Querying" by Charles E. Jacobs, Adam Finkelstein and Da

ANN: Leo 4.4a5 released

2006-01-06 Thread Edward K. Ream
ge.net/project/showfiles.php?group_id=3458 CVS: http://sourceforge.net/cvs/?group_id=3458 Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream January 6, 2006 -------- Edward K. Ream email: [EMAIL PROTEC

Widget that displays a directory tree?

2006-01-12 Thread Edward C. Jones
Do any of the Python GUIs have a super-high-level widget that displays a directory tree? Most file managers or editors have this type of window. -- http://mail.python.org/mailman/listinfo/python-list

ANN: Leo 4.4b1 released

2006-01-17 Thread Edward K. Ream
mleo/front.html Home: http://sourceforge.net/projects/leo/ Download: http://sourceforge.net/project/showfiles.php?group_id=3458 CVS: http://sourceforge.net/cvs/?group_id=3458 Quotes: http://webpages.charter.net/edreamleo/testimonials.html Edward K. Ream January 17,

Re: sax barfs on unicode filenames: workaround

2006-10-04 Thread Edward K. Ream
parser does not support parseString... Edward Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/edreamleo/front.html -- http

Re: How to ask sax for the file encoding

2006-10-04 Thread Edward K. Ream
put in the first xml line. I'm going to have to parse this line myself. Edward ---- Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/edreamleo

Re: How to ask sax for the file encoding

2006-10-04 Thread Edward K. Ream
> are you expecting your users to write XML by hand? Of course not. Leo has the following option: @string new_leo_file_encoding = utf-8 Edward ---- Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.

Re: How to ask sax for the file encoding

2006-10-04 Thread Edward K. Ream
> Please consider adding some elements to the document itself that describe the desired output format, Well, that's what the encoding field in the xml line was supposed to do. Not a bad idea though, except it changes the file format, and I would really rather not do that.

Re: How to ask sax for the file encoding

2006-10-04 Thread Edward K. Ream
o some users. They have a right, I think, to expect that the original encoding gets preserved when the file is rewritten. Edward ---- Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/e

Re: How to ask sax for the file encoding

2006-10-04 Thread Edward K. Ream
> Try this: [snip] Parser.XmlDeclHandler = self.XmlDecl [snip] Excellent! Thanks so much. Edward ---- Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/edreamleo/front.h

Tkinter: populating Mac Help menu?

2006-10-10 Thread Edward K. Ream
Help menu. Naturally, I could be wrong :-) Thanks for any help you can provide. Edward ---- Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/edreamleo/front.html ---

ANN: Leo 4.4.2 beta 2 released

2006-10-10 Thread Edward K. Ream
o :-) -- Terry Brown Links: -- Leo: http://webpages.charter.net/edreamleo/front.html Home: http://sourceforge.net/projects/leo/ Download: http://sourceforge.net/project/showfiles.php?group_id=3458 CVS: http://leo.tigris.org/source/browse/leo/ Quotes: http://webpages.charter.

Re: Tkinter: populating Mac Help menu?

2006-10-11 Thread Edward K. Ream
Thanks for these replies. I'll try these ideas soon and report back on my experiences. Edward Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/edreamleo/front

Re: Tkinter: populating Mac Help menu?

2006-10-15 Thread Edward K. Ream
> hm = Menu(mb, name='help') Yes, that worked. Many thanks for your help with Help. Edward ---- Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/edreaml

ANN: Leo 4.4.2 beta 3 released

2006-10-21 Thread Edward K. Ream
urceforge.net/projects/leo/ Download: http://sourceforge.net/project/showfiles.php?group_id=3458 CVS:http://leo.tigris.org/source/browse/leo/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html ---- Edward K

ANN: $500 prize for best Leo slideshows

2006-10-23 Thread Edward K. Ream
amleo/leo_TOC.html FAQ: http://webpages.charter.net/edreamleo/FAQ.html Wiki: http://leo.zwiki.org/FrontPage 1. Prize fund The total prize fund is $500. Prizes will be awarded solely at the discretion of Edward K. Ream. The prize fund may be split among contestants, and the total prize fund wi

ANN: Leo 4.4.2 final released

2006-10-28 Thread Edward K. Ream
age Wikipedia: http://en.wikipedia.org/wiki/Leo_%28text_editor%29 Quotes: http://webpages.charter.net/edreamleo/testimonials.html ---- Edward K. Ream email: [EMAIL PROTECTED] Leo: http://we

Re: Leo 4.4.2 final released: config bug

2006-10-28 Thread Edward K. Ream
xt in Leo's config directory 'by hand': it can start life as an empty text file. My apologies for this error. It will be fixed in Leo 4.4.2.1 in a few days. Edward ---- Edward K. Ream email: [EMAIL

ANN: Leo 4.4.2.1 final released

2006-10-29 Thread Edward K. Ream
ttp://leo.tigris.org/source/browse/leo/ Leo's Wiki: http://leo.zwiki.org/FrontPage Wikipedia: http://en.wikipedia.org/wiki/Leo_%28text_editor%29 Quotes: http://webpages.charter.net/edreamleo/testimonials.html ---- Edward K. Rea

Re: ANN: Leo 4.4.2.1 final released

2006-10-30 Thread Edward K. Ream
ums. And when reporting problems please tell me what platform you are using. You can probably see more information by running Leo in a console. See Leo's FAQ for instructions: http://webpages.charter.net/edreamleo/FAQ.html#how-can-i-run-leo-from-a-con

Re: Best Python Editor

2006-06-02 Thread Edward K. Ream
I like scite for small tasks, Leo for larger tasks and python scripting. Leo's script buttons are something probably no other tool has: http://webpages.charter.net/edreamleo/customizing.html#creating-script-buttons E

Leo 4.4.1 beta 1 released

2006-06-03 Thread Edward K. Ream
edreamleo/testimonials.html ---- Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/edreamleo/front.html -- http://mail.python.org/mailman/listinfo/python-list

Leo 4.4.1 beta 2 released

2006-06-23 Thread Edward K. Ream
oad: http://sourceforge.net/project/showfiles.php?group_id=3458 CVS: http://leo.tigris.org/source/browse/leo/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html ---- Edward K. Ream email: [EMAIL PROTECTED]

Leo 4.4.1 beta 3 released

2006-06-29 Thread Edward K. Ream
ials.html ---- Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/edreamleo/front.html -- http://mail.python.org/mailman/listinfo/python-list

Leo 4.4.1 beta 4 released

2006-08-24 Thread Edward K. Ream
?group_id=3458 CVS: http://leo.tigris.org/source/browse/leo/ Quotes: http://webpages.charter.net/edreamleo/testimonials.html -------- Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/edream

regex matching rst code block?

2006-09-03 Thread Edward K. Ream
nyone prove me wrong :-) Edward ---- Edward K. Ream email: [EMAIL PROTECTED] Leo: http://webpages.charter.net/edreamleo/front.html -- http://mail.python.org/mailman/listinfo/python-list

Re: regex matching rst code block?

2006-09-03 Thread Edward K. Ream
> Why not convert the reStructuredText to XML and parse that? Because the problem arises for the jEdit syntax colorer whose most powerful pattern matcher is a regex. Edward ---- Edward K. Ream email: [EMAIL PROTECTED] Leo: h

<    1   2   3   4   5   6   >