You are currently not logged in! Enter your authentication credentials below to log in. You need to have cookies enabled to log in.
Cool, popen2 lets you use a unix command.
import sys, popen2 stdout, stdin = popen2.popen2("wc -l /var/log/yourlog.log") print stdout.read()