interactive mode in python with ctypes???

ajaksu ajaksu at gmail.com
Thu Dec 27 10:53:25 EST 2007


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>")



More information about the Python-list mailing list