Hi all:
I'm trying to use aemreceive to allow one of my Python applications to
receive simple Apple Events. Here's the relevant code that installs the
event handler:
from aemreceive import *
def doScript(script):
exec script
installeventhandler(
doScript,
'miscdosc',
This seemed to work for me:
You need two files, a bitmap of the icon, here dubbed "AppIcon.png",
and an icns file created in Icon Composer, here dubbed "AppIcon.icns".
Place both folder where your main python script is located then, in
the main python script, append the following just after pygame
Hi Pascal,
You find it ! That so simple, in this time where we always talk about
"unicode" this things remember me time when file and directory are limited
to 8.3 characters.
Thank you very much.
Best,
A.
Pascal Oberndoerfer wrote:
>
>> Hi,
>>
>> I have install py2app on snow leopard (Python
> Hi,
>
> I have install py2app on snow leopard (Python 2.6.1), when I try to
> generate
> app for the "simple" sample, I get following error :
>
[...]
> /Users/administrateur/Documents/Alain/Développement/Python/Composants/py2app-0.4.3/examples/simple/hello.py
[...]
> UnicodeDecodeError: 'ascii'