how can I import a list which is defined inside a function in python script into another python script. Please explain using an example