Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
multi-threaded file parsing
#1
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?
Reply
#2
you are too vague, Please elaborate.
Reply
#3
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?
Reply
#4
Yes, as long as processing one record does not require data from another record.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Reading an ASCII text file and parsing data... oradba4u 2 1,499 Jun-08-2024, 12:41 AM
Last Post: oradba4u
Exclamation Multi-Threaded Camera Feed issue Khajababa69 0 1,521 May-05-2024, 09:44 PM
Last Post: Khajababa69
Video doing data treatment on a file import-parsing a variable EmBeck87 15 5,787 Apr-17-2023, 06:54 PM
Last Post: EmBeck87
  Modify values in XML file by data from text file (without parsing) Paqqno 2 3,219 Apr-13-2022, 06:02 AM
Last Post: Paqqno
  Parsing xml file deletes whitespaces. How to avoid it? Paqqno 0 1,721 Apr-01-2022, 10:20 PM
Last Post: Paqqno
  Parsing a syslog file ebolisa 11 6,911 Oct-10-2021, 05:15 PM
Last Post: snippsat
  Improves performance on socket multi-threaded servers for object detection pennant 1 2,709 Aug-31-2021, 08:43 AM
Last Post: Larz60+
Thumbs Up Parsing a YAML file without changing the string content..?, Flask - solved. SpongeB0B 2 3,159 Aug-05-2021, 08:02 AM
Last Post: SpongeB0B
  Get return value from a threaded function Reverend_Jim 3 24,437 Mar-12-2021, 03:44 AM
Last Post: Reverend_Jim
  File Name Parsing millpond 5 5,978 Aug-26-2020, 08:04 AM
Last Post: bowlofred

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020