Skip to content

Monthly Archives: December 2007

Using twill to check my lotto numbers

Twill is, according to their website, a simple scripting language for Web browsing. It’s a language in it’s own right, but all the command can be called from within Python. Here’s an example : from twill.commands import * my_numbers=[ [2, 4, 6, 8, 10, 12], [8, 10, 12, 14, 16, 18], ] config(“use_tidy”, “0”) redirect_output(“log.txt”) […]