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"][] returns a possible configuaration for PythonObject["uuid"]. |
With no configuration, Python's uuid4() function in ResourceFunction["PythonObject"] returns an instance of the UUID class:
| In[1]:= |
| Out[1]= |
| In[2]:= |
| Out[2]= |
Configure ResourceFunction["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