2014年3月11日 星期二

006 Python Cookbook 01-04 Finding the Largest N

#!/usr/bin/env python

# http://chimera.labs.oreilly.com/books/1230000000393/ch01.html#findingthelargestorsmallest
# Finding the Largest or Smallest N Items

2014年3月7日 星期五

006 Python Cookbook 01-03 Last N Items

#!/usr/bin/env python

# http://chimera.labs.oreilly.com/books/1230000000393/ch01.html#_keeping_the_last_n_items

# Keeping the Last N Items

2014年3月4日 星期二

006 Python Cookbook 01-01 Unpacking a Sequence

#!/usr/bin/env python


# http://chimera.labs.oreilly.com/books/1230000000393/ch01.html#iterableunpack

# Unpacking a Sequence into Separate Variables