change to less-fragile inline python to print version