How to create and use a branch with a C char array from PyROOT

Hi,

You can use a character array in Python, with the array.array type. Here you can find an explanation:

So something like:
s=array('c', 'ab\0')

which you can pass to tr.Branch and you can modify before each fill with the value you want for the next tree entry.