McNeel Forum
How to determine if a GH python node runs within a Windows or Mac environment
Grasshopper Developer
AndersDeleuran
October 29, 2020, 9:09am
2
This should do it (haven’t tested on Mac though):
import platform print platform.platform()
How to detect Operating System from Grasshopper?
show post in topic
Related topics
Topic
Replies
Views
Activity
Python in Grasshopper for Mac
GH for Mac
windows
,
mac
,
python
,
rhino7
4
600
April 11, 2022
Installing Python for Mac Rhino 5
Scripting
13
7062
October 5, 2015
Initial Help and pointers needed. Scripting for grasshopper & rhino on Mac
Grasshopper
windows
,
mac
,
rhinopython
,
macgrasshopper
,
rhino7
8
1479
September 20, 2021
Run python script on Mac from command line
Scripting
mac
,
rhinopython
,
command
4
1854
October 16, 2018
Python Version in GH/Rhino6/MAC?
Grasshopper Developer
5
2072
November 9, 2019