Featubility request : "!pyc" extension command

Jul 30, 2010 at 8:47 AM
Edited Jul 30, 2010 at 8:50 AM

I would like to have a "!pyc" command that execute not script, but the command itself, the same way as:

python -c <command_text>

The sample is:

!pyc "for i in xrange(10): dbgCommand(str(i))"

it will use boost::python::exec instead of boost::python::exec_file.

The only obstacle when I was trying to implement it - i don't known how to make "from pykd import *" in C++ code, because by default names from this module is not accessible in global scope.

Aug 4, 2010 at 3:51 PM

Requested feature will be implemented in PYKD 0.0.6 release