Some python tools for writing a paper