User Tools

Site Tools


root:pythonrootmacro
no way to compare when less than two revisions

Differences

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


root:pythonrootmacro [2009/03/04 11:24] (current) – created abuechle
Line 1: Line 1:
 +In your shell do:
 +<code>
 +export PYTHONPATH=$PYTHONPATH:$ROOTSYS/lib:$ROOTSYS/root/pyroot
 +</code>
  
 +Your python root macro should begin like this:
 +<code>
 +from ROOT import *
 +</code>
 +
 +To run your macro:
 +<code>
 + python -i filename.py
 +</code>
root/pythonrootmacro.txt · Last modified: 2009/03/04 11:24 by abuechle