← Back to team overview

sikuli-driver team mailing list archive

[Question #238023]: append feature- html

 

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

Hi, I created two file callinfun.sikuli and calledfun.sikuli

Contents of "callingfun.sikuli" is:
myScriptPath = "C:\\calledfun.sikul"
if not myScriptPath in sys.path: sys.path.append(myScriptPath)
test=open('C:\\test1.html','w')
test.writelines("heyya")
import calledfun
test.close()

Contents of "calledfun.sikuli" is:
test=file('C:\\test1.html','w')
test.writelines("wassup")

I want the output in test1.html as "heyya wassup". But i am getting as "heyya"

Append option might solve.. Help me out in dis ..

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