How to get a list/dictionary of objects in a TFile

I have a file with many histograms. I want to open them through pyROOT. Is there a way to get a list or dictionary of their names?

I would like to write something like:

names = file.?? histograms = [file.Get(name) for name in names]

Thanks for your help.

Hi,

something like:

HTH,
Wim