LogLab in Python