#NEWLINE# def get_mnist( path ) : #NEWLINE# #INDENT# import os #NEWLINE# import urllib #NEWLINE# if ( not os . path . exists ( path ) ) : #NEWLINE# #INDENT# print ( 'Downloading mnist ...' , end = ' ' ) #NEWLINE# url = 'http://www.iro.umontreal.ca/~lisa/deep/data/mnist/mnist.pkl.gz' #NEWLINE# urllib . urlretrieve ( path , path ) #NEWLINE# print ( 'Done' )