Re: [Pythonmac-SIG] Please critique my first appscript - a fix for Palm sync of iCal Tasks (for kGTD)

2006-08-31 Thread Marcin Komorowski
at 9:53 AM, has wrote: > Marcin Komorowski wrote: > >> Please kindly critique my code - what could I have done better? >> What would have made this code more Pythonic? > > Not familiar with Palm syncing or related iCal issues, but a few > minor pointers on the appscript

[Pythonmac-SIG] Please critique my first appscript - a fix for Palm sync of iCal Tasks (for kGTD)

2006-08-28 Thread Marcin Komorowski
I am in the process of learning Python and appscript, and I wrote my first script using these two technologies.Please kindly critique my code - what could I have done better?  What would have made this code more Pythonic?  Any suggestions and comments are greatly appreciated.Thank You in advance,Ma

Re: [Pythonmac-SIG] appscript with todos in iCal seams very slow

2006-08-09 Thread Marcin Komorowski
006, at 01:49, Marcin Komorowski wrote: I guess when I get to updating individual values in selected todos  records, I will have to use a relatively slow request-per-update  method.  Is there a trick to update a field of a todo with a given  uid in a single request? You can set multiple properties i

Re: [Pythonmac-SIG] appscript with todos in iCal seams very slow

2006-08-07 Thread Marcin Komorowski
-Aug-06, at 7:05 PM, has wrote: > Marcin Komorowski wrote: > >> I am trying to generate a python internal structure (a dictionary of >> dictionaries) with a copy of all todo data from iCal. I got it to >> work using the following code: >> [...] >> The pro

[Pythonmac-SIG] appscript with todos in iCal seams very slow

2006-08-06 Thread Marcin Komorowski
Hey All,I am trying to generate a python internal structure (a dictionary of dictionaries) with a copy of all todo data from iCal.  I got it to work using the following code:#!/usr/bin/env /usr/bin/pythonwfrom appscript import *from sys import stdoutappCal = app( 'iCal' )todos = appCal.calendars.fi

Re: [Pythonmac-SIG] Pythonmac-SIG Digest, Vol 38, Issue 16

2006-06-11 Thread Marcin Komorowski
Hey Kodi,I think you meant to quote http://krix.sf.net as the linkCheers,MarcinOn 11-Jun-06, at 6:00 AM, [EMAIL PROTECTED] wrote:From: Thorsten Kohnhorst <[EMAIL PROTECTED]> Date: June 11, 2006 5:55:14 AM EDT (CA) To: pythonmac-sig@python.org Subject: [Pythonmac-SIG] krix, a visual music browser fo

[Pythonmac-SIG] MacPython vs ActivePython

2006-05-27 Thread Marcin Komorowski
What are the pros and cons of using MacPython v.s. ActivePython on OS X Tiger? Thanks, Marcin ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] Controlling Mail.app from Python

2006-05-27 Thread Marcin Komorowski
Is there a way to control Mail.app application from within Python the way it can be controlled using AppleScript? Thanks, Marcin ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Status of PyObjC port to Intel OS X

2006-05-16 Thread Marcin Komorowski
On 16-May-06, at 10:42 PM, Zachery Bir wrote: > On May 16, 2006, at 10:27 PM, Marcin Komorowski wrote: > >> What about PyOXIDE or just outright Eclipse? > > Never used either. I just don't work too well inside an IDE. Hehe... I know what you mean. I have been using VIM

Re: [Pythonmac-SIG] Status of PyObjC port to Intel OS X

2006-05-16 Thread Marcin Komorowski
What about PyOXIDE or just outright Eclipse? Marcin On 16-May-06, at 9:50 PM, Zachery Bir wrote: > On May 16, 2006, at 8:43 PM, Marcin Komorowski wrote: > >>> (...) since the only part of the Xcode tool chain I use for Python/ >>> ObjC development is Interface B

Re: [Pythonmac-SIG] Status of PyObjC port to Intel OS X

2006-05-16 Thread Marcin Komorowski
> (...) since the only part of the Xcode tool chain I use for Python/ > ObjC development is Interface Builder. > Hey Daniel, What do you than use for your Python/ObjC development on a Mac? Thanks, Marcin ___ Pythonmac-SIG maillist - Pythonmac-SIG@py

Re: [Pythonmac-SIG] Status of PyObjC port to Intel OS X

2006-05-16 Thread Marcin Komorowski
Thanks Thorsten. OK, I think I will read the FAQ cover-to-cover so to speak before asking another question :). Cheers, Marcin On 16-May-06, at 5:04 AM, Thorsten Kohnhorst wrote: > Marcin Komorowski wrote: >> Daniel, I did let the installer put python 2.4 binaries in /usr/ >>

Re: [Pythonmac-SIG] Status of PyObjC port to Intel OS X

2006-05-15 Thread Marcin Komorowski
but how do I make XCode use python 2.4? Thanks, Marcin On 15-May-06, at 11:02 PM, Daniel Lord wrote: > > On May 15, 2006, at 19:11, Marcin Komorowski wrote: > >> Thanks to all who have replied with information, and especially to >> Bob for pointing me to a location whe

Re: [Pythonmac-SIG] Status of PyObjC port to Intel OS X

2006-05-15 Thread Marcin Komorowski
fects? Thank You, Marcin On 14-May-06, at 1:43 PM, Bob Ippolito wrote: > > On May 14, 2006, at 5:31 PM, Ronald Oussoren wrote: > >> >> On 14-mei-2006, at 14:21, Marcin Komorowski wrote: >> >>> Does anyone know what that status is of porting PyObjC to run on th

[Pythonmac-SIG] Status of PyObjC port to Intel OS X

2006-05-14 Thread Marcin Komorowski
Does anyone know what that status is of porting PyObjC to run on the new Intel Macs? I know that there has already been some amount of work done, but my attempts to run it on the new platform have failed. Should I be trying to be digging deeper into what I might be doing wrong, or is the po