[Pythonmac-SIG] Adding a track to an iTunes playlist (appscript)

2005-10-20 Thread David
I'm trying to translate the following  applescript into python:tell application "iTunes"    tell source "Library"        tell playlist "Library"            ** a bunch of code for selecting a_track and a_playlist            duplicate a_track to a_playlist        end tell    end tellend tellWhat I've

[Pythonmac-SIG] Using Sync Services from python

2005-11-02 Thread David
Does anyone know if it would be possible to use Sync Services from python, or from any other programming language than obj C? Can it be accessed through Apple Script? thanks /David ___ Pythonmac-SIG maillist - [email protected] http

[Pythonmac-SIG] C Extension build troubles in 10.6

2009-09-10 Thread david
ment that should be pretty clean. Any ideas? I'm having little luck figuring this out. There doesn't seem to be much information / discussion about the lipo error. Thanks, David ___ Pythonmac-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Won't Install Numarray-1.1.1 or Numeric_23.6

2004-12-08 Thread David Reed
On Dec 7, 2004, at 11:57 AM, Benjamin Abécassis wrote: Hi everyone, I can't install Numarray-1.1.1 or Numeric_23.6 After typing, python setup.py install it tells, error: command 'gcc' failed with exit status 1 Here is the complete log : running install running build running build_py running build_e

[Pythonmac-SIG] problem creating first pyobjc file

2005-03-23 Thread David Reed
I'm a Linux refugee familiar used to programming pygtk apps with glade and decided to see how to make Cocoa apps. I downloaded the pybobc 1.3b1 and py2app that Bob announced about a week ago. I'm following the tutorial and go to the step where I'm supposed to run: /usr/bin/python setup.py py

Re: [Pythonmac-SIG] problem creating first pyobjc file

2005-03-23 Thread David Reed
On Mar 23, 2005, at 4:53 PM, Bob Ippolito wrote: On Mar 23, 2005, at 4:40 PM, David Reed wrote: I'm a Linux refugee familiar used to programming pygtk apps with glade and decided to see how to make Cocoa apps. I downloaded the pybobc 1.3b1 and py2app that Bob announced about a week ago

Re: [Pythonmac-SIG] XML handler design

2005-03-24 Thread David Reed
On Mar 24, 2005, at 8:35 AM, [EMAIL PROTECTED] wrote: David Reed wrote: There's probably a better mailing list with XML parsing experts. I'm certainly not an expert but have done a little XML parsing. I've always followed the pattern of using startElement, characters and endElement

Re: [Pythonmac-SIG] building non-Framework Python 2.4.1 on Tiger

2005-05-04 Thread David Reed
On May 4, 2005, at 7:30 PM, Bob Ippolito wrote: As far as friends scaring you off.. I dunno, maybe they didn't know what they were doing when they tried it, or they were bitten by some problem that has been solved long since. The only "incompatibility" with framework builds is that stupid extensio

[Pythonmac-SIG] py2app and CLI Python programs

2005-05-10 Thread David Reed
I've got a command line Python app that I tried packaging up with py2app. It worked ok - t could cd into the subdir of the .app containing the executable and run it from the command line, but I'm not certain what its current working directory was since when I tried to specify a file on the

[Pythonmac-SIG] Spotlight and Python

2005-05-10 Thread David Reed
I noticed Spotlight doesn't index Python files. I'm not certain how useful it would be but I was thinking about trying to get spotlight to index the name of classes and functions/methods (i.e., you could enter a class name and spotlight would find the Python file containing the class). I do

Re: [Pythonmac-SIG] py2app and CLI Python programs

2005-05-10 Thread David Reed
On May 10, 2005, at 1:28 PM, Bob Ippolito wrote: > On May 10, 2005, at 11:29 AM, Robert Kern wrote: > > >> David Reed wrote: >> >> >>> I've got a command line Python app that I tried packaging up with >>> py2app. It worked ok - t could cd into th

Re: [Pythonmac-SIG] Spotlight and Python

2005-05-10 Thread David Reed
On May 10, 2005, at 12:01 PM, Jonathan Wight wrote: > It's certainly a good idea. > > Writing a Spotlight plug-in is extremely straight forward - just > fire up Xcode 2 and create a new "Metadata Importer" project. You > just have one function that you need to provide: > > Boolean GetMetadata

Re: [Pythonmac-SIG] Spotlight and Python

2005-05-10 Thread David Reed
On May 10, 2005, at 3:57 PM, Jacob Kaplan-Moss wrote: > On May 10, 2005, at 2:00 PM, Jonathan Wight wrote: > > >> I'm not sure how useful it is to index function & class names though. >> >> > > Oh, I disagree -- I've got over 100K lines of code, and I would > *kill* to be able to find everywhere

Re: [Pythonmac-SIG] Spotlight and Python

2005-05-10 Thread David Reed
On May 10, 2005, at 8:52 PM, Jonathan Wight wrote: > I've made a first pass at it and have a Spotlight importer that > calls a built-in Python function to import a file's metadata. > > I started to look at module inspect to find out how to extract > information from a Python module but then r

Re: [Pythonmac-SIG] Spotlight and Python

2005-05-11 Thread David Reed
On May 11, 2005, at 2:28 AM, Jonathan Wight wrote: > OK. The first version is online at: > > http://toxicsoftware.com/_private/Python%20Metadata%20Importer.pkg.zip > > The installer installs the mdimporter to /Library/Spotlight/ and > then calls mdimport -r to force Spotlight to reindex all Pyt

Re: [Pythonmac-SIG] Spotlight and Python

2005-05-11 Thread David Reed
On May 11, 2005, at 11:06 AM, Jonathan Wight wrote: > It is entirely possible I screwed something up and that it doesn't > work on anything other than my Powerbook ;-) > > However: > > As the last part of the install process the installer kicks off a > script to reindex the Python files on th

Re: [Pythonmac-SIG] Spotlight and Python

2005-05-11 Thread David Reed
ly better error handling and > a lot less leaking of PyObject pointers. > > Jon. > I have a CrashReporter subdir, but not Crash Logs. I see this in the console repeated for a bunch of the OpenGL files: May 11 14:30:56 David-Reeds-Computer mdimportserver[3772]: - [FileProcessor im

Re: [Pythonmac-SIG] PyObjC vs "old school" embedding

2005-05-31 Thread David Reed
On May 31, 2005, at 4:51 PM, Bob Ippolito wrote: > > On May 31, 2005, at 1:17 PM, [EMAIL PROTECTED] wrote: > >> (* - I've downloaded and installed PyObjC 1.3.6 twice but for some >> reason it doesn't want to use it: >> >> gandreas% /Library/Frameworks/Python.framework/Versions/Current/bin/ >>

Re: [Pythonmac-SIG] PyObjC vs "old school" embedding

2005-05-31 Thread David Reed
On May 31, 2005, at 6:54 PM, Bob Ippolito wrote: > > On May 31, 2005, at 2:27 PM, David Reed wrote: > > >> >> On May 31, 2005, at 4:51 PM, Bob Ippolito wrote: >> >> >> >>> >>> On May 31, 2005, at 1:17 PM, [EMAIL PROTECTED] wrote: >

[Pythonmac-SIG] hello and a first question for everyone...

2005-06-08 Thread David Cairns
hi all... at WWDC and i decided to join the SIG. also, i was wondering if anyone has gotten PyOpenGL and/or OpenGLContext to work in tiger (albeit under X11). if not, then what is the best way to go about establishing a context to associate with python ? thanks in advance! -- david

[Pythonmac-SIG] Building a multi-component application with py2app

2005-07-12 Thread David Hughes
;app' parameter in the call to setup can be a list of .pyw(?) files but when I try something similar, I get "error: Multiple targets not currently supported". Is it possible to achieve this, or maybe to 'merge' a number of standalone apps? Reg

[Pythonmac-SIG] where is PyInterpreterView

2005-07-12 Thread David Cairns
ed to download and/or install ? Also, how would i go about setting up my application so that the PyInterpreterView would be able to access my application's globals? Any help is greatly appreciated. -- david ___ Pythonmac-SIG maillist - Pyt

[Pythonmac-SIG] pyui font troubles

2005-07-12 Thread David Hill
Hi, I'm relatively new to Python and I'm trying to work through some examples in Sean Riley's "Game Programming with Python" book. Unfortunately, I'm having some trouble with most of the examples that use his pyui library. It looks like the examples fail when trying to create a font object

Re: [Pythonmac-SIG] pyui font troubles

2005-07-12 Thread David Hill
at 5:55 PM, Bob Ippolito wrote: > > On Jul 12, 2005, at 12:22 PM, David Hill wrote: > > >> I'm relatively new to Python and I'm trying to work through some >> examples in Sean Riley's "Game Programming with Python" book. >> Unfortunately, I&

Re: [Pythonmac-SIG] Getting Sharing name of the Macintosh via Python?

2005-08-04 Thread David Hughes
if key == ilist[0].replace(' ','').lower(): info_dict[key] = ilist[1] return info_dict print repr(get_system_info()) Regards, David Hughes Forestfield Software www.foresoft.co.uk ___ Pythonmac-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Connecting to Windows shares

2005-09-22 Thread David Hughes
n. Here, it appears as a directory of the form ";". A problem arises if you attach more than one partition, as they are then given suffixes '-1' etc that depend on the order you attached them. Regards, David Hughes Forestfield Software __

Re: [Pythonmac-SIG] Connecting to Windows shares

2005-09-22 Thread David Hughes
> *From:* [EMAIL PROTECTED] (David Hughes) > *To:* [email protected] > *Date:* Thu, 22 Sep 2005 11:12 +0100 (BST) > > > *From:* Simon Brunning <[EMAIL PROTECTED]> > > *To:* [email protected] > > *Date:* Thu, 22 Sep 2005 10:24:34 +0100 > >

[Pythonmac-SIG] -undefined dynamic_lookup can't be used with MACOSX_DEPLOYMENT_TARGET environment

2005-10-18 Thread David Wilbur
i got the following error when doing a make of psycopg 1.1.21 (and 1.1.19) on Mac OS. psycopg is middleware that allows python to talk to postgres. it has been compiling flawlessly on all the platforms i use it on. you can find out more about it at http://initd.org/ projects/psycopg1. F

[Pythonmac-SIG] book recommendation

2005-11-14 Thread David Reed
I've an experienced Python programmer on Linux - I've mainly used gtk and glade for interfaces and now I'm slowly trying to get started with Cocoa apps on X-Code. I've got the CurrencyConverter example working in Python and I did the HelloWorld example in "The Mac XCode 2 Book" by Cohen and

[Pythonmac-SIG] Calling python application from AppScript

2005-11-14 Thread David Person
yone have any tips on how to do this? I'm writing both the client and server, so any method is fine. Get() and Set() will be fine if I could only get them to work... Thanks for any help you can give, -dp- David ___ Pythonmac-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] book recommendation

2005-11-15 Thread David Reed
On Nov 15, 2005, at 4:50 PM, Dethe Elza wrote: Hi David, While no one book covers all of Cocoa, going through a book can help give you a "feel" for how Cocoa programs come together. I've often caught myself making things *way* more difficult than they need to be before I

[Pythonmac-SIG] xcode/pyobjc

2005-11-17 Thread David Reed
I'm getting ready to attempt my first real Cocoa app. I notice XCode has an option for creating pyobjc apps (when it asks you what type of app you want to create). I tried this but am not certain I'm using it correctly - build and go is not active. I did go into the directory and type "pyth

Re: [Pythonmac-SIG] Selecting in BBEdit & Python Indenting style (spaces)

2005-12-01 Thread David Person
Odd, I always use 2 spaces, and haven't really heard 4 was standard. I don't keep up much with those things, though :) Tabs are certainly allowed. There is a potential difficulty in mixing tabs and spaces in the same file, since it is unclear how many spaces go into a tab, so there is potent

[Pythonmac-SIG] WebKitCtl on wxpython 2.6

2005-12-13 Thread David Pratt
Hi. I am wondering if anyone has a working example of using a WebKitCtl for Mac with wxpython. I am wanting HTMLWindow functionality but have not been able to create an instance. Many thanks. David ___ Pythonmac-SIG maillist - Pythonmac-SIG

[Pythonmac-SIG] Pythonmac 10.2 wxPython and 2.4.1

2005-12-27 Thread David Pratt
point since I will eventually be purchasing a new machine in the next year. Regards, David ___ Pythonmac-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] PyCon TX 2006: Early-bird registration ends Dec. 31!

2005-12-28 Thread David Goodger
27;ll all be filled up by the time early-bird registration closes. Don't forget to book your hotel room, too. PyCon TX 2006 is being held at a Dallas/Addison hotel, and we have negotiated a special low rate: http://us.pycon.org/Addison/Hotels We hope to see you in Texas! -- Dav

[Pythonmac-SIG] MacPython 2.4.1 over Mac's 10.3.9's persistent Python 2.3

2006-01-07 Thread David Pratt
ld be. This is quite frustrating since I remember the Jaguar install being very smooth and effortless. Regards, David ___ Pythonmac-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] MacPython 2.4.1 over Mac's 10.3.9's persistent Python 2.3

2006-01-07 Thread David Pratt
edits" or "license" for more information. >>> So getting python2.4, just not the right version from python or pythonw at command line as with macpython 2.3. I'll try setting path using the other method from the link you provided using the ~/.MacOSX/environment.plist m

Re: [Pythonmac-SIG] MacPython 2.4.1 over Mac's 10.3.9's persistent Python 2.3

2006-01-07 Thread David Pratt
Right. I'm good to go! Many thanks for your help Bob :-) Regards, David Bob Ippolito wrote: > Given that, you must be placing /usr/local/bin after /usr/bin in your > PATH. That is not the correct thing to do for the behavior you want. > > e.g. you currently have this: >

Re: [Pythonmac-SIG] a beginner's list

2006-02-08 Thread David Reed
On Feb 8, 2006, at 1:40 PM, linc wrote: >> >> Full disclosure: I'm a UNIX person. The first thing >> I do when I get a >> new Mac is make sure X11 is installed on it, and >> in my >> Login Items. >> The second thi

Re: [Pythonmac-SIG] Job postings - allow or not?

2006-03-08 Thread David Goodger
ts RSS feed (the job board itself may have a feed, but I can't find it). Perhaps redirect posters to the job board? -- David Goodger <http://python.net/~goodger> signature.asc Description: OpenPGP digital signature ___ Pythonmac-SIG mail

[Pythonmac-SIG] importing dynamic library on intelMac

2006-08-31 Thread David Worrall
h libraries? I've tried a few things without success. Would someone be kind enough to put me on the right path - [do I need to specifically have a dynamic libraries directory in my $PYTHONPATH for eg, and if so where should it be?] many thanks, David intelMac OS10.4.9 /Library/Frameworks/Pyt

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] Fwd: Problems running IDLE

2006-09-08 Thread David Donachie
. Following the instructions for 10.3 < 10.3.9 and installing the TkAqua package from the Python page IDLE will run, but as soon as click on anything (window, menu etc.) I get a spinning cursor that never stops. What else do I need to do to get IDLE to run without freezing? Da

[Pythonmac-SIG] Problems running IDLE

2006-09-08 Thread David Donachie
. Following the instructions for 10.3 < 10.3.9 and installing the TkAqua package from the Python page IDLE will run, but as soon as click on anything (window, menu etc.) I get a spinning cursor that never stops. What else do I need to do to get IDLE to run without freezing? Da

Re: [Pythonmac-SIG] Pythonmac-SIG Digest, Vol 41, Issue 9

2006-09-11 Thread David Donachie
error about not being able to find TKInter. I then installed the TkAqua package from the Python install page and tried again. Now IDLE runs, but then hangs as soon as I click on anything (window, menu etc.) and never recovers. What do I need to do to get IDLE to run?

[Pythonmac-SIG] Fwd: Wiki suggestions

2006-09-24 Thread David Worrall
In particular, check out http://moinmoin.wikiwikiweb.de/WikiEngineComparison which is a comparision of various wikis including the language used. David >> >> Perry> I'm curious if anyone on this list has either a >> suggestion for >> Perry> some Pyth

Re: [Pythonmac-SIG] xcode problems

2006-10-20 Thread David Worrall
ler as a general text processor, occasionally for quick code. On my OSX machines I find scrIDE (http://projects.gandreas.com/ scride/) more stable than IDLE. It's especially good for wxPython stuff. David ___ experimental polymedia: www.avatar.com.au Sonic Com

Re: [Pythonmac-SIG] IDLE and MacPython 2.5

2006-10-25 Thread David Worrall
n 2.4.3 If anyone's using MacPython + wxglade into scrIDE and can report it AOK I'd be pleased to hear. David On 26/10/2006, at 2:13 AM, Christopher Barker wrote: > While we're at it, if all you want is a Python-aware editor -- then > there area a lot of other (better?) opti

Re: [Pythonmac-SIG] IDLE and MacPython 2.5

2006-10-26 Thread David Worrall
han just a tool for executing a known idea. All the best w. python. I've programmed in everything from fortran II , pascal, snobol, apl, forth, c, assemblers etc etc and python for 7 years on all sorts of platforms. These days there has to be a pretty convincing argument for me to use anyt

Re: [Pythonmac-SIG] IDLE and MacPython 2.5

2006-10-28 Thread David Worrall
fty little chain-saw I had yesterday?.. :-) David. On 27/10/2006, at 3:40 PM, Ronald Oussoren wrote: > Why does everyone seem to want to push people away from IDLE? IDLE > isn't award-winning material, but it does work properly as a simple > python environment. > > I

Re: [Pythonmac-SIG] IDLE and MacPython 2.5

2006-10-29 Thread David Worrall
gertips. Like playing Bach learned in childhood! I've always thought the fist (mouse) was a retrogressive replacement to fingers. Now if only well all used Dvorak! :-) David at least Mac now has the option, and what an irony that we've come such full circle. > As full disclosure: I don

[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] 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 th

[Pythonmac-SIG] Problem with pygame and py2app

2007-01-02 Thread David Hill
Hi, I've been working on a small pygame app and I've just now started trying to build a Mac OS X application bundle out of it. When I run "python setup.py py2app" with no additional options, I get a verbose set of output ending with: > linking /Volumes/Storage/Users/davidh/Documents/workspac

[Pythonmac-SIG] importing namespaces/modules

2007-01-18 Thread David Worrall
with >>> from twisted.internet.protocol import DatagramProtocol Class MessageHandler(DatagramProtocol): other than the obvious easy of reading "twisted.internet.protocol.DatagramProtocol" in a large environment with many imported modules, which is my situation. Any advise gr

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: >> >>> D

[Pythonmac-SIG] Opening an app from another app under different OS X versions

2007-01-24 Thread David Woods
ly, shuts down. (i.e. the Console doesn't report anything.) os.spawnv() and os.popen2() don't work either. Does anybody have any ideas for how I can launch a bundled wxPython app from within another bundled wxPython app on OS X 10.4? Thanks for your help, David K. Woods, Ph.D. Transana

Re: [Pythonmac-SIG] Opening an app from another app under different OSX versions

2007-01-24 Thread David Woods
> David Woods wrote: > > My wxPython application has a context sensitive help system, using > > wx.html.HtmlHelpController(), which also contains a Tutorial for the > > program. Users like to leave the Help window open while they are > > simultaneously working in the

Re: [Pythonmac-SIG] Opening an app from another app under different OSX versions

2007-01-24 Thread David Woods
particular scenario. Line 3 of > > TransanaHelp.py, > > by the way, is not the import statement shown here. That > line 3 is > > of some > > internal Python routine that's not part of my code. > > I had a problem like this whe

Re: [Pythonmac-SIG] Opening an app from another app under different OSX versions -- SOLVED

2007-01-25 Thread David Woods
> On 1/24/07, David Woods <[EMAIL PROTECTED]> wrote: > > > > Adding the path didn't help. Calling "open -a > TransanaHelp.app" > > > > from the command line finds the app, and adding the full path > > > > makes > > > is

[Pythonmac-SIG] Pythonmac 2.4.4 (PPC) and mod_python problems

2007-03-07 Thread David Pratt
pointer type, use of long doubles. Hope someone can help. Many thanks. Regards, David configuration: [Mac-PG:~/Desktop/mod_python-3.3.1] davidpra% ./configure --with-apxs=/usr/local/apache2/bin/apxs checking for gcc... gcc checking for C compiler default output file name... a.out checking whether

[Pythonmac-SIG] library build example?

2007-03-07 Thread David Worrall
library in one hit. Does anyone have a simple example using either SCONS or MAKE, which has the correct ld options for OSX10.4.8? I would appreciate any advice from those w. more experience than I on this matter. Thanks, David intel OSX 10.4.8, various versions of

[Pythonmac-SIG] How do I change my delivery status?

2007-03-16 Thread David Goldsmith
Thanks! DG ___ Pythonmac-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] py2app-ed program runs on 4 out of 7 Macs tried

2007-03-16 Thread David Goldsmith
Hi, all! I have a py2app-ed application which imports numpy, Numeric, matplotlib, pylab, wx, wxmpl, "personal" modules, and standard distribution fare such as os, sys, datetime, etc. (perhaps the least common of these which are used are traceback and from __future__ import division). It runs

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

2007-03-21 Thread David Worrall
packAGE.py but where is the 'proper' place to put libpackAGE.dylib? /usr/local/ lib ?? a short answer or reference to where I can find this info would be much appreciated. David _ experimental polymedia: www.avatar.com.au Sonic Commun

[Pythonmac-SIG] Universal build bug - Undefined symbols and pythonmac?

2007-04-08 Thread David Pratt
good when I was on the PPC pythonmac at 2.4.3 Regards, David ___ Pythonmac-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Universal build bug - Undefined symbols and pythonmac?

2007-04-08 Thread David Pratt
e app runs perfeclty on 10.3.9/PPC. Googling I see others with posts to different software lists for the software they are trying to build. Regards, David Bob Ippolito wrote: > On 4/8/07, David Pratt <[EMAIL PROTECTED]> wrote: >> I have been getting the same undefined symbol

Re: [Pythonmac-SIG] Universal build bug - Undefined symbols and pythonmac?

2007-04-09 Thread David Pratt
10.4 - in fact, it was the decision by mac not to release the 1.5 JDK on 10.3. I see releases for Windows98 - grumble, grumble :-( Regards, David Ronald Oussoren wrote: > > On 9 Apr, 2007, at 6:59, Bob Ippolito wrote: > >> I'm pretty sure that 10.4 would fix this.

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

2007-04-13 Thread David Worrall
ynamic loading can anyone shed any light on this for me please? (or just tell me what's gotta change :-) David _ experimental polymedia: www.avatar.com.au Sonic Communications Research Group, University of Canberra: www.canberra.edu.au/vc

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

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] Pythonmac 2.4.4 (PPC) and mod_python problems

2007-04-25 Thread David Pratt
was introduced. I am running into similar linking issues with lxml. See below. What can be done about this :-( Regards David Buildout build == zc.buildout.easy_install: Getting new distribution for lxml Building lxml version 1.3.beta warning: no previously-included files found

Re: [Pythonmac-SIG] Pythonmac 2.4.4 (PPC) and mod_python problems

2007-04-25 Thread David Pratt
me better reliability back into some of the software builds that I seemed to have before. Many thanks for this tip :-) Regards David Ned Deily wrote: > In article <[EMAIL PROTECTED]>, > David Pratt <[EMAIL PROTECTED]> wrote: >> I will be attempting to build mod_python again s

[Pythonmac-SIG] persistence speeds compared

2007-07-16 Thread David Worrall
ical applic. so needs to be as fast as possible. I haven't been able to find even a simple comparative analysis. Can anyone point me in the right direction? thanks heaps, David _ experimental polymedia: www.avatar.com.au Sonic Communica

[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? ___

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) >&

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

2007-10-03 Thread David Worrall
at my sonipy.sourceforge.net for some toolset ideas. It is being developed in the first instance on OSX. good luck! David On 04/10/2007, at 12:50 PM, Brett Calcott wrote: > Thanks to everyone for their replies; very useful stuff. > > I must say that getting a large number of replies so q

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] 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 simp

[Pythonmac-SIG] working around versions

2007-11-04 Thread David Worrall
puting the locating values for x and y in '/Library/Frameworks/Python.framework/Versions/Current/lib/pythonx.y/' other than through concatenating the above string with a splice of sys.version? thanks, David _ experimental polymedia: www

Re: [Pythonmac-SIG] working around versions

2007-11-05 Thread David Worrall
Thanks for your reply Ronald. I do run multiple versions, but I change the symlink of Current. Do you mean because people change versions in other ways, say through a shell alias rather than change the symlink? I can see that the sys.prefix approach is safer. thanks, David On 06/11/2007, at 1

[Pythonmac-SIG] appscript create new iphoto album

2007-11-20 Thread David Voswinkel
Hi, try to create an new iPhoto album, But cant get it working. Is this a bug? >>> app('iPhoto').make(new=k.regular_album, with_properties={ k.name : 'New Album' }) Traceback (most recent call last): File "", line 1, in File "/Library/Python/2.5/site-packages/appscript-0.17.2-py2.5-macosx

[Pythonmac-SIG] hi

2007-11-27 Thread david odey
Please I would love to receive a daily newsletter with simple python codes for beginners; and to progress as time goes. ALWAYS THERE FOR YOU - For ideas on reducing your carbon footprint visit Yahoo! For Good this month.__

Re: [Pythonmac-SIG] appscript create new iphoto album

2007-11-28 Thread David Voswinkel
d: app(u'/Applications/iPhoto.app').make(new=k.photo, with_properties={k.class_: k.photo, k.image_path: mactypes.Alias(u'/Users/david/Desktop/20071127_Misc/IMG_0299.JPG')}) or: appscript.reference.CommandError: CommandError -1700: Can't make some data into the expected ty

[Pythonmac-SIG] Py2app and shared libraries under Leopard

2007-12-11 Thread David Hughes
e the libraries with their Tiger-built counterparts, the application builds OK (under Leopard). I installed Xcode on Leopard using default settings. Any ideas please? Regards, David Hughes Forestfield Software $ cd /users/pydevsrc/dp6mac_v630 $ ./build_all running py2app creating /Users/pyd

Re: [Pythonmac-SIG] Py2app and shared libraries under Leopard

2007-12-18 Thread David Hughes
David Hughes wrote: .Built using Distutils under Leopard, the library [/Reportlab's _Render.pm]/ is working exactly as intended/expected. However, comparing the .so file produced, it is under half the size of the same built using Tiger [/and it generates an error when it is include

[Pythonmac-SIG] codes

2007-12-28 Thread david odey
please send me relevant codes for beginners ALWAYS THERE FOR YOU - Sent from Yahoo! - a smarter inbox.___ Pythonmac-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/pythonmac-

[Pythonmac-SIG] iTunes query

2008-07-27 Thread David Blackman
I'm trying to figure out how AOEM queries work on iTunes, the code I'm trying looks like: for track in library.tracks[appscript.its.name().encode("utf-8").find("Sun")]: (I'm trying to find all the tracks in my library with the string "Sun" in the title) and the error I'm getting is: Tracebac

[Pythonmac-SIG] Help! I can't get py2app v0.4.2 to correctly embed Authorization

2008-08-08 Thread David Hostetler
es/lib/python2.5/lib-dynload/Authorization/. Am I failing to pass some critical option to my setup.py? I'm not particularly OSX saavy, so any help is appreciated. regards, -David ___ Pythonmac-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] py2app PyOpenGL "Unable to find an implementation" Error

2008-08-27 Thread David Selassie
7;darwin' ('posix') platform 8/27/08 11:29:27 AM com.apple.launchd[149] ([0x0-0x6e06e].org.pythonmac.unspecified.PyTensor[4893]) Exited with exit code: 255 - Thanks for your help. - David Selassie ___ Pythonmac-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] using py-appscript

2008-09-10 Thread David Morley
interactively explore what is available? Something like dir(app('TextEdit')) -> [..., "documents", ...] to let me know that the app has document components app('TextEdit').documents.keys() -> [..., "Read M

Re: [Pythonmac-SIG] Please help! py2app broken

2008-09-11 Thread David Hostetler
l). This is all probably moot soon, as I don't expect the setuptools guys to allow the problem to persist at large. But yeah, in a pinch and disregarding the other stuff, he could roll back to 1.4.4. -David ___ Pythonmac-SIG maillist - Pytho

[Pythonmac-SIG] Py2app/modulegraph crashes on pkg_resources

2008-10-16 Thread David Eyk
e, pkg_resources is importable, at least from within the debugger, but I don't understand how exactly modulegraph works its magic. Any ideas? (I've attached my setup.py, in case it might shed light.) Thanks for your time. David Eyk # -*- coding: utf-8 -*- """setup -- setupto

Re: [Pythonmac-SIG] Py2app/modulegraph crashes on pkg_resources

2008-10-17 Thread David Eyk
below: On Thu, Oct 16, 2008 at 3:11 PM, Christopher Barker <[EMAIL PROTECTED]> wrote: >> David Eyk wrote: >> >> That got me halfway there! Let me briefly plug zc.buildout here: I've >> been using it on all my projects since PyCon, and it made these tweaks >&g

Re: [Pythonmac-SIG] Py2app/modulegraph crashes on pkg_resources

2008-10-17 Thread David Eyk
th a really simple, tiny app? That > should at least tell you what a working app bundle should look like. That's a good idea. As I may have mentioned, I've used py2app successfully before, with a wxPython app. But that probably doesn't qualify as simple or tiny. :) I

[Pythonmac-SIG] py2app fails on /usr/bin/strip

2008-10-24 Thread David Eyk
on: 2.5.1 setuptools: 0.6c9 py2app: 0.4.2 Can anyone else replicate this error with the attached package? Anyone have an idea what's going on, or how I might fix it? Thanks, David Eyk dummy-0.2.dev.tar.gz Description: GNU Zip compressed data _

[Pythonmac-SIG] App distribution with eggs

2008-11-18 Thread David Woods
lks recommend for building distributable apps which have dependencies on eggs? David ___ Pythonmac-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] pyobjc 2.0 with the python.org distribution?

2008-12-17 Thread David Hain
rtant bits. Thanks, Reza On Wed, Dec 17, 2008 at 9:52 AM, David Warde-Farley > wrote: Hi folks, I noticed today that while PyObjC, etc. is included in the system Python in 10.5, the py2.5-fat binaries on undefined.org are 1.4.x series. As I understood it, the python.org UB is the only solution

Re: [Pythonmac-SIG] pyobjc 2.0 with the python.org distribution?

2008-12-17 Thread David Hain
gainst the python.org binary dist of 2.6, but I have a script that will build 2.6 from source and then build pyobjc from trunk. See below for the important bits. Thanks, Reza On Wed, Dec 17, 2008 at 9:52 AM, David Warde-Farley > wrote: Hi folks, I noticed today that while PyObjC, etc. i

  1   2   3   >