String to guid using python

Hi there,

I know there is some overlapping notions between guid for tracking geometry, and for other purposes.
In this thread, I am interested in the GUID for tracking GHPY components and assemblies.

I am interested in inserting a GUID into this below:

Currently I have to convert a GUID string to a grasshopper GUID, pictured below:

I want to do this inside python, does anyone know how this is achieved?

I have tried using:
import System.Guid
However this does not work, I think because its expecting some geometry instance?

You are on the right track. Check the methods under that class.

And try import System
Then, System.Guid(string)