Post
Topic
Board Bitcoin Discussion
Re: Bitcoin puzzle transaction ~32 BTC prize to who solves it
by
7isce
on 23/09/2023, 05:17:08 UTC
You could just use it as

Code:
file1 = open('file1.txt', 'r')
for line in file1.read().splitlines():
    compressed_keys.append(bytes.fromhex(line))
file1.close()

file2 = open('file2.txt', 'r')
for line in file2.read().splitlines()::
    compressed_keys.append(bytes.fromhex(line))
file2.close()

Good Luck with your studies  Wink