Skip to content

Commit

Permalink
Merge pull request microsoft#27 from stonebig/patch-1
Browse files Browse the repository at this point in the history
python 3 compatibility fix
  • Loading branch information
chrisbasoglu committed Jan 26, 2016
2 parents 56a2a15 + 0818f4f commit c08b105
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Examples/Image/MNIST/AdditionalFiles/mnist_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
import numpy as np

def loadData(src, cimg):
print 'Downloading ' + src
print ('Downloading ' + src)
gzfname, h = urllib.urlretrieve(src, './delete.me')
print 'Done.'
print ('Done.')
try:
with gzip.open(gzfname) as gz:
n = struct.unpack('I', gz.read(4))
Expand Down

0 comments on commit c08b105

Please sign in to comment.