interactive mode in python with ctypes???
ajaksu
ajaksu at gmail.com
Thu Dec 27 10:53:25 EST 2007
More information about the Python-list mailing list
Thu Dec 27 10:53:25 EST 2007
- Previous message (by thread): interactive mode in python with ctypes???
- Next message (by thread): interactive mode in python with ctypes???
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
You should get it to work with this loop (from run()):
while libbuf != "quit":
lib.libCallCommand(libinf,libbuf,0,pointer(result))
print "result: ",result.value
if libbuf == "Exit":
break
libbuf = raw_input("lib>")
- Previous message (by thread): interactive mode in python with ctypes???
- Next message (by thread): interactive mode in python with ctypes???
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list