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

hello, 


[1] 
The structure is: .bat file triggers  a .py file
The bat file reads: start /i /b /wait C:\Sikuli\Downloads\runIDE.cmd -r 
"C:\automat\end2end.sikuli"
The code inside .py is :
import zipfile
with zipfile.ZipFile('test.jar', 'r') as z:
    z.extractall(r"C:\testfolder")

This code produces:
AttributeError ( ZipFile instance has no attribute '__exit__' ) 


[2]
note: The code from "test.py" works when run from python idle. I am running 
python v2.7.10
note: Other methods (that i tried) from zip module do not return any issues.



Take care

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to