Import ROOT to python


In python3 what is the equivalent of the old command
from ROOT import *

This doesn’t seem to work any more so you have to import individually TH1F, Canvas etc.

Many thanks! Paula

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided

The usage of from ROOT import * is no longer supported with Python3. Please use, for example, from ROOT import foo, to import specific things. Cheers,

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.