summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
Diffstat (limited to 'src/python')
-rw-r--r--src/python/tpt_console.py16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/python/tpt_console.py b/src/python/tpt_console.py
index 864fed8..a854756 100644
--- a/src/python/tpt_console.py
+++ b/src/python/tpt_console.py
@@ -1,6 +1,5 @@
import tpt
from tpt import *
-from utils import *
import sys
import code
import ctypes
@@ -75,3 +74,18 @@ def _handle(txt):
exec txt in handle.glob
except Exception as ex:
error(ex)
+
+def step():
+ try:
+ a=handle.glob
+ except:
+ clean()
+ try:
+ _step()
+ except Exception as ex:
+ error(ex)
+
+def _step():
+ #print "handling '%s'"%txt
+ #print "step"
+ toggle_pause()