Featubility request : "!pyc" extension command

Jul 30, 2010 at 9:47 AM
Edited Jul 30, 2010 at 9: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.

Coordinator
Aug 4, 2010 at 4:51 PM

Requested feature will be implemented in PYKD 0.0.6 release