Commit e57d041e authored by Laurent EL SHAFEY's avatar Laurent EL SHAFEY
Browse files

[python3] fix printout

parent de22dbd9
......@@ -68,7 +68,7 @@ class Database():
def __create_tmp_dir_and_download__(self):
import urllib2, tempfile, os
tmp_directory = tempfile.mkdtemp(prefix='mnist_db')
print "Downloading the mnist database from http://yann.lecun.com/exdb/mnist/ ..."
print("Downloading the mnist database from http://yann.lecun.com/exdb/mnist/ ...")
for f in self.m_mnist_filenames:
url = urllib2.urlopen('http://yann.lecun.com/exdb/mnist/'+f)
dfile = open(os.path.join(tmp_directory, f), 'w')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment