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

When I import a Python module, the Settings property isn't working

Main script:
import os
ini_path = os.path.dirname(getBundlePath())
if not ini_path in sys.path:
    sys.path.append(ini_path)

from Ini import *

Ini.py module:

Settings.MoveMouseDelay = 0.2



The following error shows up:

NameError: name 'Settings' is not defined


I'm not sure whether this is a namespace issue or a Sikuli module issue.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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