I've a .txt file, which consists of binary numbers, one on each line. How do I import those values to be used as int's? I currently use this code: ```py for n in open(r"","r").readlines(): ``` But of course, I get this error: "TypeError: not all arguments converted during string formatting" while I try to use "n" in math.
```py nums2 = [int(line.strip(), 2) for line in open(filename)] ```