Re: [Pythonmac-SIG] [fitnesse] fitnesse PyFit on 2 Macs

2006-03-01 Thread Keith Ray
3-macosx10.3.zip > > > On Mar 1, 2006, at 1:06 PM, Keith Ray wrote: > > > so I do this (please excuse the different names than in previous msgs) > > > > $ python > >>>> import open_test_file > > > > and get this: > > > > Traceback (

Re: [Pythonmac-SIG] [fitnesse] fitnesse PyFit on 2 Macs

2006-03-01 Thread Keith Ray
so I do this (please excuse the different names than in previous msgs) $ python >>> import open_test_file and get this: Traceback (most recent call last): File "", line 1 ,in ? File "open_test_file.py" ,line 10, in ? from appscript import * File "/Library/Python/2.3/site-packages/appsc

Re: [Pythonmac-SIG] Download page on www.python.org now updated

2006-02-27 Thread Keith Ray
Once you install 2.4.1, does everything python-related just automatically start working with it, or do you need to re-install packages like appscript, PyFIT, and so on that have installed themselves off of /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packges/... ? (W

Re: [Pythonmac-SIG] Download page on www.python.org now updated

2006-02-25 Thread Keith Ray
t; > that. > > > > Bill > ___ > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > http://mail.python.org/mailman/listinfo/pythonmac-sig > -- C. Keith Ray <http://homepage.mac.com/keithra

Re: [Pythonmac-SIG] appscript

2006-02-21 Thread Keith Ray
off the installers: pyobjc-1.3.7-py2.3-macosx10.4 Appscript-Installer-1.2 On 2/20/06, Ronald Oussoren <[EMAIL PROTECTED]> wrote: > > On 20-feb-2006, at 23:35, Keith Ray wrote: > > > I'm trying to use python/appscript to send apply-events to a cocoa > > applicatio

[Pythonmac-SIG] appscript

2006-02-20 Thread Keith Ray
I'm trying to use python/appscript to send apply-events to a cocoa application, but it seems to be choking on parsing the aete... possibly because the aeta has been replaced by 'sdef' for holding scripting terminology. help? Traceback (most recent call last): File "/fitEtc/PyFIT/fit/fit/TypeAdapt

[Pythonmac-SIG] ascii <-> unicode <-> cocoa NSString

2006-02-20 Thread Keith Ray
PyFIT gives me ascii strings,and I am trying to call cocoa (and eventually some applescript) functions from Python. I tried from Foundation import NSString from AppKit import NSWorkspace import os.path etc... ws = NSWorkspace.sharedWorkspace() uapplicationpath = unicode(self.

[Pythonmac-SIG] distributed objects with PyObjC

2006-01-12 Thread Keith Ray
astr = '%s'" % astr ) self.server.broadcastMessageString_( astr ) # convert to NSString NSLog( u"called self.server.broadcastMessageString_." ) def applicationWillTerminate_(self,aNotification): NSLog( u"applicationWillTerminate_ ." ) if NO ==