Skip to main content

dict_python

No overview available.

def dict_python(
data: dict | list
) - > string

Converts a dictionary or list of dictionaries into a Python-formatted string representation.

Parameters

NameTypeDescription
data`dictlist`

Returns

TypeDescription
stringA string containing the Python code representation of the input dictionary or list.