human
I am working on the file "02-PythonWhirlwindCheatSheet.ipynb".
The first task is:
import matplotlib as mpl

mpl.rcParams['text.latex.preamble'] = [
       r'\usepackage{siunitx}',   # i need upright \micro symbols, but you need...
       r'\sisetup{detect-all}',   # ...this to force siunitx to actually use your fonts
       r'\usepackage{helvet}',    # set the normal font here
       r'\usepackage{sansmath}',  # load up the sansmath so that math -&gt.
helvet
       r'\sansmath'               # &lt;- tricky! -- gotta actually tell tex to use!
] 
mpl.rcParams['text.usetex'] = True

p = ryplot.Plotter(1,1,2,figsize=(12,6))
p.plot(1,spec[:,0],spec[:,1],'Normalised responsivity','Wavelength \si{\micro\metre}','Responsivity')

Esoteric Python tidbits
http://nbviewer.ipython.org/github/rasbt/python_reference/blob/master/not_so_obvious_python_stuff.ipynb?create=1
http://sahandsaba.com/thirty-python-language-features-and-tricks-you-may-not-know.html  
Python variables can have data types, see the link for more details.
Can you write Python code for it?
 Give me a the Python code you requested?
assistant
#Here is the Python code you requested.

# a = int
# print(type(a))
# print a('3') + 4

# b = str
# print b(12) * 5

# class Foo:
#      def bar(self):
#          print "in Foo.bar()"

# f = Foo
# f().bar()

# Collect input and output arguments into one bunch
class Bunch(object):
    def __init__(self, **kwds): self.__dict__.update(kwds)
        
arg = Bunch(recurse=1, pattern_list='*.xml;*.py', return_folders=0, results=[])

print(arg.__dict__)