barrel cortex python file