Re: [Pythonmac-SIG] working around versions

2007-11-05 Thread David Worrall
:37 AM, Ronald Oussoren wrote: > > On 5 Nov, 2007, at 3:51, David Worrall wrote: > >> Hi All, >> >> We're doing some work around different versions of Python on OSX (and >> what's in their respective site-packages directory), >> and I was wondering

[Pythonmac-SIG] working around versions

2007-11-04 Thread David Worrall
Hi All, We're doing some work around different versions of Python on OSX (and what's in their respective site-packages directory), and I was wondering: Given that we can pick up the the version number of the current instantiation using sys.version, is there a direct way of computing the locat

Re: [Pythonmac-SIG] easygui

2007-10-06 Thread David Worrall
Hi Robin, I know them both very well. Good at what they do. Supercollider is even better (IMO) However they both only have python for scripting. If it's python you want, approach with caution David On 06/10/2007, at 11:42 PM, robin meier wrote: > hello, > > for simple gui's using differen

Re: [Pythonmac-SIG] easygui

2007-10-04 Thread David Worrall
Hi Rafael, Not a comprhensive list by any means, but here are a couple of my links: http://www.psychopy.org/ you may find this useful: http://psy.ck.sissa.it/OtherStuff/OtherStuff.html also pythoncard has lots of examples which might get you into a ballpark: http://pythoncard.sourceforge.ne

Re: [Pythonmac-SIG] entire applications in python?

2007-10-03 Thread David Worrall
Hi Brett, Yep, There's plenty of us! Many I know migrated from FORTH at one end and APL at the other ... the important continuity being an interpretive environ. which is more conducing to figuring out what one is actually trying to do. Having done that, we can crunch CPU cycles using C/Fortran e

Re: [Pythonmac-SIG] seg fault in intelOSX+python2.4

2007-08-31 Thread David Worrall
21 August 2007, David Worrall escrigué: > >> I lowered NODE_MAX_SLOTS from 256 to128 and that slowed the leak - >> enough to get some sort of DB happening. >> It eventually seg faulted, however. >> I've noticed that sometimes the seg fault causes the (non-python) >&

[Pythonmac-SIG] seg fault in intelOSX+python2.4

2007-08-29 Thread David Worrall
Hi all, I've been using PyTables (www.pytables.org) with python2.4 on intel Mac OSX 10.4.10 and I'm running into a seg. fault when generating a large hdf5 file. Almost certainly something to do with relationship between OS and python. Has anyone had a similar (memory leak?) experience? ___

[Pythonmac-SIG] persistence speeds compared

2007-07-16 Thread David Worrall
Hi all, Does anyone know of a study which compares access-time on of the various python persistence technIques? I'm working w. a dynamic dataset of some 3500 tables - each table grows sequentially. Total data ~= 5GB Don't mind if it's a bit awkward - but for a time-critical applic. so need

Re: [Pythonmac-SIG] Numeric problem with Intel Mac OSX 10.4.8

2007-04-23 Thread David Worrall
ice could be forgiven for feeling misled. This is the reason I pointed to the scipy site. Life moves too quickly sometimes. David On 24/04/2007, at 2:24 AM, Christopher Barker wrote: > David Worrall wrote: >> numeric is now called numpy >> see >> http://numpy.scipy.org/

Re: [Pythonmac-SIG] Numeric problem with Intel Mac OSX 10.4.8

2007-04-23 Thread David Worrall
numeric is now called numpy see http://numpy.scipy.org/ also, all lower case... David On 24/04/2007, at 12:21 AM, Jan H. Jensen wrote: > Hi, I have the following problem. Can anyone help? > > best regards, Jan Jensen > > Python 2.4.4 (#1, Oct 18 2006, 10:34:39) > [GCC 4.0.1 (Apple Computer, In

[Pythonmac-SIG] .so import bug python 2.3 vs 2.4 (++?)

2007-04-13 Thread David Worrall
Hello all, OSX 2.4.9: A (largish) Xcode project compiled to a .so with the /System/Library python framework. The .so is produced and imports into python (2.3.4) When the whole process is repeated, replacing python 2.3.4 with 2.4.3 I get an >> ImportError: Inappropriate file type for dynamic load

[Pythonmac-SIG] 'normal' python library installations on OSX

2007-03-21 Thread David Worrall
Hello all, I'm looking to install libraries in the OSX python framework structure using a simple shell script and I can't find a document which advises the 'normal' locations. given packAGE.py, (and various other .py files which it imports) _ packAGE.so and libpackAGE.dylib I've made a packAGE

[Pythonmac-SIG] library build example?

2007-03-07 Thread David Worrall
Hi Folks, Background: I'm porting a number of c/c++ programs as libraries for python import using SWIG + SCONS or MAKE I can build a lib*.so library OK (a compiled c program uses it) I can SWIG to produce the *wrap.c and *.py files. I'm having trouble with the next step :

Re: [Pythonmac-SIG] importing namespaces/modules

2007-01-19 Thread David Worrall
Piet, Ronald, You have been most kind in taking the time to answer these queries. Thank you. David On 20/01/2007, at 12:08 AM, Ronald Oussoren wrote: > > On Friday, January 19, 2007, at 01:45PM, "Piet van Oostrum" > <[EMAIL PROTECTED]> wrote: >> >>> DW> And after py2app? >> >> I am not very fa

[Pythonmac-SIG] importing namespaces/modules

2007-01-18 Thread David Worrall
Hello all, I've got a query which is probably obvious for people more experienced than I but I can't find any exact reference to it elsewhere. It's not mac specific, but hey, I already belong to too many dev groups... :-) The discussion at http://docs.python.org/tut/node11.html is OK but it

Re: [Pythonmac-SIG] Is there a Python 2.5 Framework?

2006-11-16 Thread David Worrall
Hey Mark! I'm doing that. Let me recommend a couple of tools: (a) PythonCard (b) wxGlade - haven't tested with Python2.5 but works w. earlier version (c) book: "wxPython in Action" excellent read, whether you use (a) or (b) good luck! David PS I have no affiliations that would allow me to bene

[Pythonmac-SIG] python threading and multiple processors

2006-11-02 Thread David Worrall
Hi All, Can anyone tell me whether or not the python threading module can make use of multiple processors (such as on the intel Mac)? many thanks, David ___ experimental polymedia: www.avatar.com.au Sonic Communications Research Group, University of Canberra:

Re: [Pythonmac-SIG] IDLE and MacPython 2.5

2006-10-29 Thread David Worrall
> yes I remember the pain of the rewire from ed to vi ! isn't it amazing that the fingers remember! There was a time last century when I didn't use a unix machine for 10 years, then logged onto an SGi, fired up vi and in 30 seconds flat all the commands were at my fingertips. Like playi

Re: [Pythonmac-SIG] IDLE and MacPython 2.5

2006-10-28 Thread David Worrall
n a way it is better than most programmers text editors because > although it is missing some of the advanced editor features these > offer it does come with an embedded python interpreter and debugger. > > Ronald > > On Oct 27, 2006, at 4:26 AM, David Worrall wrote: > &g

Re: [Pythonmac-SIG] IDLE and MacPython 2.5

2006-10-26 Thread David Worrall
no need for a file? then enjoy the delights of the interpreter. just $ /usr/bin/python (at the prompt) will get you the interpreter at which you can play around. sometimes I do that whilst I'm trying to work out what I want (by looking at the results of various processes) and then drag/copy and p

Re: [Pythonmac-SIG] IDLE and MacPython 2.5

2006-10-25 Thread David Worrall
For what it' worth, perhaps to save you some time, I recently spent a day evaluating these tools. Horses for courses, but for me: TextWrangler is a freebie BBEditLite - a very nice word-processor which is keyword aware; SPE is a full-blown development environment which includes wxglade interf

Re: [Pythonmac-SIG] xcode problems

2006-10-20 Thread David Worrall
On 20/10/2006, at 5:26 PM, Ronald Oussoren wrote: > > On Friday, October 20, 2006, at 08:29AM, Muhammad Alkarouri > <[EMAIL PROTECTED]> wrote: > >> --- Ronald Oussoren wrote: >> ... >>> I'd drop Xcode unless you already know it, Xcode can be used as a >>> python editor but is really heavy-weig

[Pythonmac-SIG] Fwd: Wiki suggestions

2006-09-24 Thread David Worrall
- Pythonmac-SIG@python.org >> http://mail.python.org/mailman/listinfo/pythonmac-sig >> > > _ > David Worrall: [EMAIL PROTECTED] > > > ___ experimental polymedia: www.avatar.com.au Sonic Communications Research Group, Uni

Re: [Pythonmac-SIG] importing dynamic library on intelMac

2006-09-01 Thread David Worrall
Thanks all for your advice. I've solved the problem; the library compiles and now includes the shared libraries directory. Turns out the problem I had was with scons. David On 02/09/2006, at 1:17 AM, Ronald Oussoren wrote: > > On 29-aug-2006, at 8:09, David Worrall wrote: > >

[Pythonmac-SIG] importing dynamic library on intelMac

2006-08-31 Thread David Worrall
Hello All, I'm new here... and to dynamic libraries I've compiled a 3rd party's dynamic library , libXXX.dylib , a Mach- O dynamically linked shared library i386 and can't work out where to put it so that I can >>> import XXX is there a special place for such libraries? I've tried a few thi