This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# requires twill==0.9 | |
import sys | |
from twill import get_browser | |
from pprint import pprint | |
class PdfFinder: | |
browser = None | |
_b = None | |
_q = None | |
links = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######################################################## | |
# How to NOT use Lambdas. An inneficient and yet educa-# | |
# tonal guide to the proper misuse of the lambda const-# | |
# ruct in Python 2.x. DO NOT USE ANY OF THIS EVER # | |
# by: e000 (13/6/11) # | |
######################################################## | |
## Part 1. Basic LAMBDA Introduction ## | |
# Well, it's worth diving straight into what lambdas are. | |
# Lambdas are pretty much annymous "one line" functions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######################################################## | |
# How to NOT use Lambdas. An inneficient and yet educa-# | |
# tonal guide to the proper misuse of the lambda const-# | |
# ruct in Python 2.x. DO NOT USE ANY OF THIS EVER # | |
# by: e000 (13/6/11) # | |
######################################################## | |
## Part 1. Basic LAMBDA Introduction ## | |
# Well, it's worth diving straight into what lambdas are. | |
# Lambdas are pretty much annymous "one line" functions |