← Back to team overview

sikuli-driver team mailing list archive

[Question #236800]: function_related ques

 

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

hi. I created "called_fun.sikuli "
The contents for dis file is

def hey():
    a= "pass"
    return a

An other file "calling_fun.sikuli" whose contents are

import called_fun
test = open('C:\test.html','w')
called_fun.hey()
test.writelines(("<p>%s</p>" %(a)))
test.close()

Value of "a" returned by file1 is not recognised by file2. What is the mistake ???

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