Barely-functional python version