How would one go about writing a Python plugin system for a Mac application written in Cocoa?
Implementing a plugin system of any kind consists of exposing some internal data or functions of an application to an external piece of executable code, which in this case is a Python script. Doing so allows for users to extend an application’s functionality beyond what the application’s author intended or conceived. We’ll take a look at how to execute Python scripts from within a Cocoa app, and we’ll discuss how to structure an application to allow for flexible scriptability.
Related Questions
- I am writing a website maintenance system (called a "content management system" by some), or some other application which generates web pages from templates. What license should I use for those templates?
- How would one go about writing a Python plugin system for a Mac application written in Cocoa?
- Whats the Best Mac Application for Running Windows?