Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Configure a Python object for the UUID package
ResourceFunction["UUIDPythonObjectConfiguration"]["Configuration"] returns a possible configuaration for the resource function PythonObject. |
With no configuration, Python's uuid4() function in the resource function PythonObject returns an instance of the UUID class:
In[1]:= | ![]() |
Out[1]= | ![]() |
In[2]:= | ![]() |
Out[2]= | ![]() |
Configure the resource function PythonObject to give a String instead:
In[3]:= | ![]() |
Out[3]= | ![]() |
In[4]:= | ![]() |
Out[4]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License