Good day, everybody.
I have a function with several return values that I would like to call from another script. However, it does not work. Could you explain how to call the function in the right way? The first example is a little bit wrong. The main idea to set the pathway and work with three values in my another script. However, it works only with the first one.
def getPerson(fileFolder):
#Import arcpy module
import arcpy
from arcpy import env
#Set workspace
env.workspace = fileFolder
name = .....
age = .....
country = .....
return name, age, country
import arcpy, getPerson
filePath = "C:/1.gdb"
name, age, county = getPerson.getPerson(filePath)