pyobjc
How to create a Cocoa library and use it in python
I\'ve been making a game and the python library I was used is terrible (Pyglet). I want to try using Cocoa for the OSX version.[详细]
2023-01-05 09:43 分类:问答py2app, pyObjc & macports compilation errors
I\'m currently writing a small python app that embeds cherrypy and django using py2app. It worked well until I tried to include pyobjc in my project, since my app needed a small GUI (which consists of[详细]
2023-01-03 10:34 分类:问答Reinterpret a CGImageRef using PyObjC in Python
I\'m doing something that\'s a little complicated to sum up in the title, so please bear with me. I\'m writing a Python module that provides an interface to my C++ 开发者_如何学Pythonlibrary, which p[详细]
2022-12-29 22:23 分类:问答pyobj access to iTunes application
Let\'s say I managed to get the dictionary opened for iTunes in the Applescript editor: How would I access the \"search\" commands usin开发者_运维问答g Python with pyobjc?[详细]
2022-12-29 05:16 分类:问答Apply a Quartz filter while saving PDF under Mac OS X 10.6.3
Using Mac OS X API, I\'m trying to save a PDF file with a Quartz filter applied, just like it is possible from the \"Save As\" dialog in the Preview application. So far I\'ve written the following cod[详细]
2022-12-28 05:43 分类:问答Can't import obj in Python on OS X 10.6.3 Snow Leopard - libiconv.2.dylib?
on OS X 10.6.3 Snow Leopard % python Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin[详细]
2022-12-26 07:32 分类:问答Should I mix wxpython and pyobjc?
I have a wxPython based app which I am porting to Mac OS X, in that I 开发者_如何学Pythonneed to show some alerts which should look like native mac alerts, so I am using pyobjc for that e.g.[详细]
2022-12-25 15:03 分类:问答Extending Python and Objective-C
I\'m a fan of clean code. I like my languages to be able to express what I\'m trying to do, but I like the syntax to mirror that too.[详细]
2022-12-23 23:44 分类:问答How can I listen for a mouse event in Python on Mac?
I need to listen for global mouse events(not bound to an app) on my Mac in an app written in Python. I\'m using PyObjC, but I can\'t figure out how to do it. Plain ObjC examples or other Python techn[详细]
2022-12-21 12:24 分类:问答Trying to write to binary plist format from Python (w/PyObjC) to be fetch and read in by Cocoa Touch
I\'m trying to serve a property list of search results to my iPhone app. The server is a prototype, written in Python.[详细]
2022-12-21 05:14 分类:问答