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

2008-08-11 Thread Christopher Barker
Daniel Ashbrook wrote: Xcode supports "#pragma mark foo" that puts "foo" into a dropdown menu above your code in the editor so you can quickly jump between sections. As "#" is a comment in python, it certainly could be done just the same way, but not if Apple hasn't enabled that. Well, XCod

Re: [Pythonmac-SIG] Problem with Framework

2008-08-11 Thread has
Georg Seifert wrote: is there a way to select witch framework to use? You need to bind the framework yourself rather than using #import, e.g. see py2app's bundletemplate/src/main.m, or PyOSA's pythonloader.c file. HTH has -- Control AppleScriptable applications from Python, Ruby and Ob

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

2008-08-11 Thread Daniel Ashbrook
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 compiled if you want to get technical with me) Am I mis

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

2008-08-11 Thread Nehemiah Dacres
On Fri, Aug 8, 2008 at 11:45 AM, Blake Winton <[EMAIL PROTECTED]> wrote: > Nehemiah Dacres wrote: > >> Daniel Ashbrook wrote: >> >>> Anybody know how to make #pragma mark work with python in xcode? >>> >> python has pragmas? I dont thinks so >> > > No, but XCode has pragmas. Well, #pragma mark at

[Pythonmac-SIG] py2app OpenGL example error

2008-08-11 Thread Mike Porter
Hello, I am unable to run an app of the OpenGL example (found at http://svn.pythonmac.org/py2app/py2app/trunk/examples/PyOpenGL/) using py2app. The app is created successfully, but when I run it I get "ImportError: No module named OpenGL.GL". If I look inside the app, the OpenGL directory is the

[Pythonmac-SIG] Can't import QTKit: Fatal Python error

2008-08-11 Thread Daniel Ashbrook
When I try to import QTKit and build and run my app, I get "Fatal Python error: Interpreter not initialized (version mismatch?)". Any ideas? dan ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-