Best way to return a value from a python script,"return [1, 2, 3]"