Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 204c204
- < rows,cols = map(float, line)
- ---
- > rows,cols = list(map(float, line))
- 209c209
- < rows, cols, entries = map(float, line)
- ---
- > rows, cols, entries = list(map(float, line))
- 368c368
- < aij = complex(*map(float,line.split()))
- ---
- > aij = complex(*list(map(float,line.split())))
- 400c400
- < i,j = map(int,l[:2])
- ---
- > i,j = list(map(int,l[:2]))
- 403c403
- < aij = complex(*map(float,l[2:]))
- ---
- > aij = complex(*list(map(float,l[2:])))
- 613c613
- < print 'Reading',filename,'...',
- ---
- > print('Reading',filename,'...', end=' ')
- 617c617
- < print 'took %s seconds' % (time.time() - t)
- ---
- > print('took %s seconds' % (time.time() - t))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement