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: | ||
+ | < | ||
+ | export PYTHONPATH=$PYTHONPATH: | ||
+ | </ | ||
+ | Your python root macro should begin like this: | ||
+ | < | ||
+ | from ROOT import * | ||
+ | </ | ||
+ | |||
+ | To run your macro: | ||
+ | < | ||
+ | | ||
+ | </ |