I’m looking for a way to use python 3.x in Gh.
I know of Rhino using IronPython2, which I guess complicates things a little, but I’m thinking there must be a workaround, even if it’s perhaps not super simple.
My preferred solution would be to write the python 3.x code as a separate module or package (could be free of any Rhino/Gh API) and then have the ghpython node provide the script with some input, execute it, retrieve some data and port that data into Rhino objects.
I’ve done similar things writing python 2.7 modules without any issues, but my understanding and experience interfacing between languages is more or less non existent and I couldn’t find anything directly on this particular topic here on the forum or on the web, hence I would be very greatful for any pointers, tips or example or how this could be achieved
(Its of course all the interesting machine learning modules for 3.x that motivates this question)
All the best!