python port of bashblog