WolframClientForPython
WolframClientForPython copied to clipboard
How to convert back "WolframObjects" to python objects
e.g.
Table[Values[i], {i, WordData["motorbus", "Synonyms"]}]
Id like to have a python List..
As of now I am doing it like this (which seems very hacky)
raw_results = evaluate('ExportString[Table[Values[i], {i, WordData["motorbus", "Synonyms"]}], "CSV"]')
result_list = results.replace('"', '').replace('\n', '').split(',')