Jul-31-2021, 08:36 AM
The introduction of PyObjc, the project containing the objc module goes as follows
If however the objc module is used only for the GUI part of the program, you could perhaps rewrite only the GUI part with another GUI framework or even write a console based program with similar functionalities.
Quote:The PyObjC project aims to provide a bridge between the Python and Objective-C programming languages on macOS. The bridge is intended to be fully bidirectional, allowing the Python programmer to take full advantage of the power provided by various Objective-C based toolkits and the Objective-C programmer transparent access to Python based functionality.With this description of the project, we can assume that it is almost impossible to run the program in a Windows environment.
PyObjC not only includes the basic bridge, but also bindings to most Apple frameworks on macOS.
The most important usage of this is writing Cocoa GUI applications on macOS in pure Python. See our tutorial for an example of this.
If however the objc module is used only for the GUI part of the program, you could perhaps rewrite only the GUI part with another GUI framework or even write a console based program with similar functionalities.