OP 27 March, 2022 - 01:54 AM
how tf do i make a py tool that checks last 2 digits of a line in a file i provide?
with open('codes.txt', 'w') as f:
firstchar = input("18")
filedata = np.array(f)
indices = np.where(np.char.startswith(filedata, firstchar)
with open('cards_output.txt', 'w') as y:
y.write('\n'.filedata, indices)
with open('codes.txt', 'w') as f:
firstchar = input("18")
filedata = np.array(f)
indices = np.where(np.char.startswith(filedata, firstchar)
with open('cards_output.txt', 'w') as y:
y.write('\n'.filedata, indices)