top of page
Data Lists (PE.DataLists)
PE.DataLists.write(dir: str, list: list)
store a list in a file (on the drive)
​
function actions:
write on the list file
​
parameters:
dir - the path of the file. for example: "assets/data/resources.list format" (str)
list - the list variable that you want to store. (list)
PE.DataLists.read(dir: str, auto_convert=True)
read a list file from the drive
​
function actions:
read the list file
​
parameters:
dir - the path of the file. for example: "assets/data/resources.list format" (str)
auto_convert - read all the values as strings, or convert them to numbers (False for strings, and True for strings and numbers) (bool)
​
returns:
the list that stored on the file (list)
bottom of page
