Python Forum
How to Translate a python code written in Mac-OS to Windows?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Translate a python code written in Mac-OS to Windows?
#3
The introduction of PyObjc, the project containing the objc module goes as follows
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.

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.
With this description of the project, we can assume that it is almost impossible to run the program in a Windows environment.

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.
Reply


Messages In This Thread
RE: How to Translate a python code written in Mac-OS to Windows? - by Gribouillis - Jul-31-2021, 08:36 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  googletrans library to translate text language for using data frame is not running gcozba2023 0 1,239 Mar-06-2023, 09:50 AM
Last Post: gcozba2023
  BeautifulSoup - I can't translate html tags that contain <a href=..</a> OR <em></em> Melcu54 10 1,648 Oct-27-2022, 08:58 AM
Last Post: wavic
  The code I have written removes the desired number of rows, but wrong rows Jdesi1983 0 1,637 Dec-08-2021, 04:42 AM
Last Post: Jdesi1983
  Delimiters - How to skip some html tags from being translate Melcu54 0 1,664 May-26-2021, 06:21 AM
Last Post: Melcu54
  [split] SyntaxError when trying to execute code on Windows nehaya 2 2,014 Aug-04-2020, 11:18 AM
Last Post: nehaya
  SyntaxError when trying to execute code on Windows Fred0n 2 2,436 Apr-25-2020, 04:30 AM
Last Post: buran
  Translate to noob a Name Eroor message bako 2 2,241 Mar-30-2020, 05:58 PM
Last Post: bako
  Translate this line of code please keystone76 2 2,657 Jan-31-2020, 11:15 PM
Last Post: keystone76
  translate \ to / ? Skaperen 4 2,532 Oct-01-2019, 06:05 AM
Last Post: Skaperen
  Logger file rotation not working when python code started from windows service as exe nirvantosh 1 6,681 Jun-14-2019, 03:58 PM
Last Post: nirvantosh

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020