Re: Can TPad::AddExec call a method in PyROOT?

From: <wlavrijsen_at_lbl.gov>
Date: Tue, 13 Dec 2011 09:32:11 -0800


Akira,

> One more question. How can I kill the '(Bool_t)1' output by
> $ROOTSYS/pyroot/DynamicSlice.py ?

by adding a semi-colon at the end of the AddExec statement:

   c1.AddExec( 'dynamic', 'TPython::Exec( "slicer()" );' )

instead of:

    c1.AddExec( 'dynamic', 'TPython::Exec( "slicer()" )' )

Best regards,

            Wim

-- 
WLavrijsen_at_lbl.gov    --    +1 (510) 486 6411    --    www.lavrijsen.net
Received on Tue Dec 13 2011 - 18:32:55 CET

This archive was generated by hypermail 2.2.0 : Tue Dec 13 2011 - 23:50:01 CET