[2aac52]: Test / backup / run.py Maximize Restore History

Download this file

run.py    10 lines (7 with data), 212 Bytes

1
2
3
4
5
6
7
8
9
# run.py
from pyke import knowledge_engine
def run():
engine = knowledge_engine.engine(__file__)
engine.activate('backup')
vars, plan = engine.prove_1_goal('backup.top($ans)')
print vars['ans']