On 20-feb-2006, at 23:35, Keith Ray wrote:
> 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?
What happe
On Feb 20, 2006, at 2:35 PM, Keith Ray wrote:
> 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.
If all you want t
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
> I was wondering if following the instructions on this page
> http://bill.janssen.org/mac/new-macpython-page.html
Clearly past time to move this to python.org :-). I'll take care of
that.
Bill
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
ht
Title: Re: [Pythonmac-SIG] ascii <-> unicode <-> cocoa NSString
On 2/20/06 1:05 PM, "Keith Ray" <[EMAIL PROTECTED]> wrote:
> Help ?
You encode from Unicode, and decode to Unicode:
>>> 'hi there'.decode('ascii')
u'hi there'
>>> u'hi there'.encode('ascii')
'hi there'
Dave
_
On Feb 20, 2006, at 1:22 PM, Ronald Oussoren wrote:
>
> On 20-feb-2006, at 19:51, Bob Ippolito wrote:
>
>>
>> On Feb 20, 2006, at 9:56 AM, Ronald Oussoren wrote:
>>
>>> I've been thinking a little about pythonw vs. python. The former is
>>> needed because on OSX any API that needs a connection to
On 20-feb-2006, at 22:05, Keith Ray wrote:
> 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 = NSWorksp
On 20-feb-2006, at 19:51, Bob Ippolito wrote:
>
> On Feb 20, 2006, at 9:56 AM, Ronald Oussoren wrote:
>
>> I've been thinking a little about pythonw vs. python. The former is
>> needed because on OSX any API that needs a connection to the window
>> server (anything that uses a native GUI and some
On Feb 20, 2006, at 1:05 PM, Keith Ray wrote:
> 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 = NSWor
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.
On Feb 20, 2006, at 11:49 AM, altern wrote:
> In a few weeks I will be giving some Python lectures and I am checking
> how to support students running Tiger. I don't run Tiger yet so I
> haven't gone trough the process of getting it to run on that system.
>
> In the workshop I would need to expla
Hi all
In a few weeks I will be giving some Python lectures and I am checking
how to support students running Tiger. I don't run Tiger yet so I
haven't gone trough the process of getting it to run on that system.
In the workshop I would need to explain the students how to install it
but also h
On Feb 20, 2006, at 9:56 AM, Ronald Oussoren wrote:
> I've been thinking a little about pythonw vs. python. The former is
> needed because on OSX any API that needs a connection to the window
> server (anything that uses a native GUI and some other calls) need to
> be in an application bundle. py
I've been thinking a little about pythonw vs. python. The former is
needed because on OSX any API that needs a connection to the window
server (anything that uses a native GUI and some other calls) need to
be in an application bundle. pythonw is a program that can be placed
anywhere on the
Dear Python Help Group
I am a student of Computer Science and i need help understanding how
MacOS 10.4 (tiger) handles Python.
the class I am in is "Intro to Object Oriented Programing" so they
teach in python to reduce teaching of syntax so they can focus on O.
Orientation. I need to import module
15 matches
Mail list logo