Novice in Sikulix and Jython
I just downloaded Sikulix 2.0.4 and Jython 2.7.1 and installed them.
I tried a script with this:
--
discount = 0
amount = input("Enter Amount")
if amount>1000:
discount = amount*0.10
elif amount>500:
discount = amount*0.05
else:
discount = 0
print 'Discount = ',discount
print 'Net amount = ',amount-discount
--
Only an error occurs when run:
---
Exception in thread "Thread-39" Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\
from Sikuli import *
File "C:\Users\
from __future__ import with_statement
ImportError: No module named __future__
---
Is the problem here? My name is Bjørnar (with a norwegian letter ø )
This seems to be translated til \xf8
How do I check that my installation is OK?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- masuo
- Solved:
- Last query:
- Last reply: