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 ..."
print("Downloading the mnist database from ...")
for f in self.m_mnist_filenames:
url = urllib2.urlopen(''+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