On 07/29/2011 10:57 PM, Benjamin Bannier wrote:
> Hi Adrian,
> I do not want to spoil your love for CINT, but since you are already
> exploring: ROOT comes with decent python bindings with which writing
> standalone scripts is at least as easy as this.
hmm .. i forgot about python bindings!!
>
> #!/bin/env python
> import ROOT as r
> r.gROOT.ProcessLine(".L someROOTmacro.C+")
> r.someROOTmacro()
is this r. apply to everything else?
lets say r.Troof::Open(url,workers) ? i mean all that i would write in
ROOT i can prefix with r. and its the same thing?
As for argument parsing i see that argparse is nice .. are there better solutions or do you have some advices about this?
Thank you,
Adrian
This archive was generated by hypermail 2.2.0 : Sat Jul 30 2011 - 17:50:02 CEST