Finding a text in raw data(size nearly 10GB) and Printing its memory address using python
samakshkaushik at gmail.com
Mon Apr 23 13:24:20 EDT 2018
I have a raw data of size nearly 10GB. I would like to find a text string and print the memory address at which it is stored.
This is my code
with open(filename, 'rb') as f:
if not data:
elif searchtext in data:
print 'Not Found'
The address I am getting is
But the actual positioning is
More information about the Python-list