Settings not defined in imported Python script
Asked by
Raymond
When I import a Python module, the Settings property isn't working
Main script:
import os
ini_path = os.path.
if not ini_path in sys.path:
sys.
from Ini import *
Ini.py module:
Settings.
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.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Raymond for more information if necessary.
To post a message you must log in.