Python Forum

Full Version: multi-threaded file parsing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi
i have a large file which i need to parse
it has data put in some format, i.e.
data1 data2
data3
key1 value1
key2 value2
...
all file data follows similar syntax
is it possible to process such file and store the data with multitreading?
you are too vague, Please elaborate.
what isn't comprehensible?

i have some data structure. i'm asking whether it's poosible to read the file using several threads and store the data in container?
Yes, as long as processing one record does not require data from another record.