← Back to team overview

sikuli-driver team mailing list archive

[Question #189351]: Pass Return as Argument

 

New question #189351 on Sikuli:
https://answers.launchpad.net/sikuli/+question/189351

Need to find out how to pass the return of one function as an argument for a second function.

Example:
def displayText():
    text = 'Hello World'
    print(text)
    return (text)

def displayTextTwo(texttwo):
        print(texttwo)

displayText()
displayTextTwo(text)

Output:
Hello World

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.