I have a text file that has the following data:
<miscellaneous text for several lines> User ID Name USERA Test User 1 USERB Test User 2 .... <more miscellaneous text for several lines> I am trying to pull the user ID and Names out so I can output it into a .csv file. So I imagine the first step would be to load the file and put the contents of the text file into a string
Here is the code I have:
with open('FILE.txt', 'rb') as f: file = f.read() print(file) but this outputs the following: 
Why is it loading in the unicode NULL character? What can I do to fix this?
Also, is there a more efficient way to do this? My plan was to just do regex matches but that is not very efficient
encodingkeyword inopen.