On Tue, Jun 15, 2010 at 9:42 PM, Rahul R <rahul8...@gmail.com> wrote:
> On Tue, Jun 15, 2010 at 6:03 PM, Noufal Ibrahim <nou...@gmail.com> wrote:
>
>> On Tue, Jun 15, 2010 at 9:11 PM, Rahul R <rahul8...@gmail.com> wrote:
>> [..]
>> > i rather prefer running it as a script binding into a "C" (if thats
>> possible
>> > , well that certainly works for sh scripts i dont know whether that works
>> > for python )
>>
>> I'm not sure what you mean by "binding". But is possible to embed a
>> Python interpreter into your compiled C application so that it can
>> execute scripts. It's often used to provide "scriptability".
>>
>>
> well thats wat exactly i wanted .. to embed the python interpreter into C
> app .
> Can u throw some light on it .. on how to go about doing so.

http://docs.python.org/release/2.5.2/ext/embedding.html

Try that?


-- 
~noufal
http://nibrahim.net.in
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to