Reposted from rumpletweezer via python