← Back to team overview

sikuli-driver team mailing list archive

[Question #261159]: import exiftool library in sikuliX

 

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

I am new in python an sikuliX. I want to import pyexiftool (http://smarnach.github.io/pyexiftool/) into sikuli. After reading from https://answers.launchpad.net/sikuli/+faq/1114, I put this in my sikuliX script:

if not "/Volumes/Macintosh HD/Users/arwanakhoiruddin/Documents/backup/belajar/Python/exif-reader/" in sys.path:
    sys.path.append("/Volumes/Macintosh HD/Users/arwanakhoiruddin/Documents/backup/belajar/Python/exif-reader/")
import exiftool

However, I get this error:

[error] SyntaxError ( ('no viable alternative at input \'"{ready}"\'', ('/Volumes/Macintosh HD/Users/arwanakhoiruddin/Documents/backup/belajar/Python/exif-reader/exiftool.py', 79, 12, 'sentinel = b"{ready}"\n')) )

Would you please help? Thanks.

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