Re: [Pythonmac-SIG] pragma mark with python in xcode?

2008-08-12 Thread Mike Covill
On 11-Aug-08, at 11:10 AM, Daniel Ashbrook wrote: Nehemiah Dacres wrote: > What are u using a #pragma for in python? You See that POUND sign your using, thats a COMPILER DIRECTIVE, python is an interpreted scripting language, no PREPROCESSING allowed , (except for the .pyc code but thats

Re: [Pythonmac-SIG] Yet another problem with path

2008-08-07 Thread Mike Covill
On 7-Aug-08, at 9:45 AM, Mike Covill wrote: On 7-Aug-08, at 9:34 AM, Pascal Bompard wrote: Returning to this 3 week old chestnut, (apologies for delay - my second child was born in the interim), and thanks to all who attempted to help, but I am still struggling with this issue

Re: [Pythonmac-SIG] Yet another problem with path

2008-08-07 Thread Mike Covill
On 7-Aug-08, at 9:34 AM, Pascal Bompard wrote: Returning to this 3 week old chestnut, (apologies for delay - my second child was born in the interim), and thanks to all who attempted to help, but I am still struggling with this issue. Christopher Barker wrote: If you have scripts you want

Re: [Pythonmac-SIG] py2app- python code packed in clear ascii

2008-08-05 Thread Mike Covill
the shelter, The last time I built an app bundle, the only source file from my code in plain ascii was my main.py file. Everything else was precompiled and zipped up in a sub-folder. So the strategy to hide all source code was to create a main.py file which simply imports another file c

Re: [Pythonmac-SIG] [py2app] problems running .app built on 10.5 on standard 10.4

2008-07-31 Thread Mike Covill
On 31-Jul-08, at 12:33 PM, Christopher Barker wrote: Mike Keith wrote: are my problems down to the fact that i'm using apple's python 2.5 to build the .app? yes. if so, any advice on how to proceed? Install the python.org python ,and use that to built your app -- it should then run on a

[Pythonmac-SIG] Trouble installing PyObjC 2.0 from source

2008-07-19 Thread Mike Covill
>=2.0 error: Could not find suitable distribution for Requirement.parse('pyobjc-framework-Cocoa>=2.0') Thanks, Mike Covill ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] NSDistributedNotificationCenter

2007-11-09 Thread Mike Covill
On 2007-Nov-09, at 00:32, Ronald Oussoren wrote: > > On 8 Nov, 2007, at 20:55, Mike Covill wrote: > >> I wanted to try using the NSDistributedNotificationCenter to pass >> messages between two separate python programs running simultaneously, >> so to learn about doin

[Pythonmac-SIG] NSDistributedNotificationCenter

2007-11-08 Thread Mike Covill
I wanted to try using the NSDistributedNotificationCenter to pass messages between two separate python programs running simultaneously, so to learn about doing this I created this class: FILE: listener.py ---

[Pythonmac-SIG] Launching a python app with an associated document

2006-06-30 Thread Mike Covill
Does anyone have experience creating a pure python app (no Cocoa integration) which is associated with a document extension?We would like to be able to launch our application by double-clicking an associated document (associated using CFBundleDocumentTypes in the info.plist) and having the data in

[Pythonmac-SIG] Building apps with hardcoded options using py2app

2006-04-17 Thread Mike Covill
I would like to package up different versions of our application which we normally specify on the command line with different command line options. For example: myapp.py or myapp.py -sim Can I use py2app to make different 'double-clickable' applications that would give us the same functiona

[Pythonmac-SIG] 50-un_commentLines.py

2006-03-07 Thread Mike Covill
No attachments stored for XcodeIntegration" Thanks, Mike Covill ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig