Personal chemistry nonsense written in Python