Re: [Pythonmac-SIG] pyui font troubles

2005-07-12 Thread David Hill
Thanks! Now I'm getting somewhere. The examples now run and draw their initial screens but they don't update. Everything seems to be running OK in the background but the window doesn't update at all after the initial drawing. Oh, and I'm getting strange libpng errors in the console: > libp

Re: [Pythonmac-SIG] pyui font troubles

2005-07-12 Thread Bob Ippolito
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'm having some trouble with most of the examples that > use his pyui library. > > It looks like the

[Pythonmac-SIG] appscript + iPhoto problem

2005-07-12 Thread Gábor Farkas
hi, what i want to achieve is the following. i want to find a photo in iphoto (i can do that), and then assign some keywords to it. i can find the photo with: iphoto = appscript.app('iPhoto') photos = iphoto.photos() and then i find my photo in 'photos'. and i can also list it's keywords. but

[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] Building a multi-component application with py2app

2005-07-12 Thread Bob Ippolito
On Jul 12, 2005, at 4:43 AM, David Hughes wrote: > I have a wxPython application where the main process has a number of > components that can be started as separate processes when required, > for > example, an independent GUI help viewer and several console-type > helper > tasks. With py2exe

Re: [Pythonmac-SIG] py2app and Python 2.3.5

2005-07-12 Thread Bob Ippolito
On Jul 12, 2005, at 3:48 AM, João Leão wrote: > I have both Apple's Python (2.3.5) and MacPython 2.4.1 installed > under 10.4.1. > > Before Tiger (Panther + Python 2.3 with Panther addons) i had been > using py2applet to build an application that makes extensive use of > CoreGraphics. As previousl

Re: [Pythonmac-SIG] where is PyInterpreterView

2005-07-12 Thread Ronald Oussoren
On 12-jul-2005, at 18:17, David Cairns wrote: > Hi everybody, > > At WWDC, I saw the Python in OS X talk, and I am really interested in > integrating PyInterpreterView in my application, in order to implement > a sort of scripting/debugging system, but I can't seem to find the > .palette file the

[Pythonmac-SIG] where is PyInterpreterView

2005-07-12 Thread David Cairns
Hi everybody, At WWDC, I saw the Python in OS X talk, and I am really interested in integrating PyInterpreterView in my application, in order to implement a sort of scripting/debugging system, but I can't seem to find the .palette file the widget is contained in. Is this something else I need to

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

2005-07-12 Thread David Hughes
I have a wxPython application where the main process has a number of components that can be started as separate processes when required, for example, an independent GUI help viewer and several console-type helper tasks. With py2exe under MSW I can build them all into the same 'Dist' with a sing

Re: [Pythonmac-SIG] open() does'nt work with py2app

2005-07-12 Thread Ronald Oussoren
On 12-jul-2005, at 16:03, Kevin Dangoor wrote: > > import user Don't import user just to get at user.home! The user module looks for a ~/.pythonrc.py and executes that. Setting user.home is just a side- effect of its (mostly unwanted) functionality. Use os.path.expanduser('~') to get the home

Re: [Pythonmac-SIG] open() does'nt work with py2app

2005-07-12 Thread Kevin Dangoor
On 7/12/05, Mathieu Renauld <[EMAIL PROTECTED]> wrote: > Hi! > First forgive me for the language mistakes (I'm french)!! Your English is more understandable than some native English writers I've seen :) > > I try to make a program using wxPython and Python 2.4. > There's a function which creates

[Pythonmac-SIG] py2app and Python 2.3.5

2005-07-12 Thread João Leão
I have both Apple's Python (2.3.5) and MacPython 2.4.1 installed under 10.4.1. Before Tiger (Panther + Python 2.3 with Panther addons) i had been using py2applet to build an application that makes extensive use of CoreGraphics. As previously noted by others, this module isn't available thr

[Pythonmac-SIG] open() does'nt work with py2app

2005-07-12 Thread Mathieu Renauld
Hi! First forgive me for the language mistakes (I'm french)!! I try to make a program using wxPython and Python 2.4. There's a function which creates a file like that: file = open('myfile.py','w') when I launch the program from a shell (python test.py), it work perfectly and the file is created,