rizin/r2-bindings/python/test-r_core.py
pancake 79e3fba4f9 * More work for the bindings
* Make python test programs use system's lib
2011-11-04 03:48:28 +01:00

11 lines
170 B
Python

import sys
try:
from r_core import RCore
except:
from r2.r_core import RCore
core = RCore()
core.file_open("/bin/ls", False, 0)
core.cmd0("pd 8");
#
core.cons.flush()