User Tools

Site Tools


root:pythonrootmacro

In your shell do:

export PYTHONPATH=$PYTHONPATH:$ROOTSYS/lib:$ROOTSYS/root/pyroot

Your python root macro should begin like this:

from ROOT import *

To run your macro:

 python -i filename.py
root/pythonrootmacro.txt · Last modified: 2009/03/04 11:24 by abuechle