User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

root:pythonrootmacro [2009/03/04 11:24] (current)
abuechle created
Line 1: Line 1:
 +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
root/pythonrootmacro.txt ยท Last modified: 2009/03/04 11:24 by abuechle