0

Hi,

I'm very new to programming and Python. I need to process two separate files, one containing words, the other frquencies of these words. What is the best way to process these files and obtain a new file with frequencies*words in there? Btw i'm afraid the files cannot be read into memory entirely because of the size...

thankx, Ber

3
Contributors
3
Replies
6
Views
11 Years
Discussion Span
Last Post by vegaseat
0

Can you give sample of the first ten lines of each file?

If the lines match (word and number), then you can read in one line from each file at a time, process and write/append back out.

0

The problem is that they don't have the same line numbers...

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.