In [2]:
from IPython.core.display import HTML,display
import glob

In [3]:
notyet = []

In [6]:
files = glob.glob('*.ipynb')
notgo = ['0-index.ipynb','GenerateLibrary.ipynb' ]
s = ''
for f in files:
    if f not in notgo:
        s = s + "! jupyter nbconvert --to 'python' " + f + "\n"
print(s)


! jupyter nbconvert --to 'python' affine.ipynb
! jupyter nbconvert --to 'python' applylut.ipynb
! jupyter nbconvert --to 'python' bwlp.ipynb
! jupyter nbconvert --to 'python' circle.ipynb
! jupyter nbconvert --to 'python' colormap.ipynb
! jupyter nbconvert --to 'python' comb.ipynb
! jupyter nbconvert --to 'python' conv.ipynb
! jupyter nbconvert --to 'python' cos.ipynb
! jupyter nbconvert --to 'python' dct.ipynb
! jupyter nbconvert --to 'python' dctmatrix.ipynb
! jupyter nbconvert --to 'python' dft.ipynb
! jupyter nbconvert --to 'python' dftmatrix.ipynb
! jupyter nbconvert --to 'python' dftshift.ipynb
! jupyter nbconvert --to 'python' dftview.ipynb
! jupyter nbconvert --to 'python' ellipse.ipynb
! jupyter nbconvert --to 'python' gaussian.ipynb
! jupyter nbconvert --to 'python' gshow.ipynb
! jupyter nbconvert --to 'python' h2percentile.ipynb
! jupyter nbconvert --to 'python' h2stats.ipynb
! jupyter nbconvert --to 'python' haarmatrix.ipynb
! jupyter nbconvert --to 'python' hadamard.ipynb
! jupyter nbconvert --to 'python' hadamardmatrix.ipynb
! jupyter nbconvert --to 'python' histogram.ipynb
! jupyter nbconvert --to 'python' idct.ipynb
! jupyter nbconvert --to 'python' idft.ipynb
! jupyter nbconvert --to 'python' idftshift.ipynb
! jupyter nbconvert --to 'python' ihadamard.ipynb
! jupyter nbconvert --to 'python' interpollin.ipynb
! jupyter nbconvert --to 'python' isccsym.ipynb
! jupyter nbconvert --to 'python' isolines.ipynb
! jupyter nbconvert --to 'python' log.ipynb
! jupyter nbconvert --to 'python' logfilter.ipynb
! jupyter nbconvert --to 'python' mosaic.ipynb
! jupyter nbconvert --to 'python' normalize.ipynb
! jupyter nbconvert --to 'python' pca.ipynb
! jupyter nbconvert --to 'python' pconv.ipynb
! jupyter nbconvert --to 'python' phasecorr.ipynb
! jupyter nbconvert --to 'python' polar.ipynb
! jupyter nbconvert --to 'python' ptrans.ipynb
! jupyter nbconvert --to 'python' ramp.ipynb
! jupyter nbconvert --to 'python' rectangle.ipynb
! jupyter nbconvert --to 'python' rgb2hsv.ipynb
! jupyter nbconvert --to 'python' sat.ipynb
! jupyter nbconvert --to 'python' sobel.ipynb


In [ ]: