Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def read_file:
- f = open("file.txt", "r")
- line = f.readline()
- array = numpy.zeros((line, line.split()), dtype=int)
- f.close()
- return array
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement