Skip to main content

All Questions

2 votes
2 answers
2k views

Word counter using a word list and some text files

My program works with two types of files. File 1 contains 500,000 distinct words. File set 2 contains 173 text files, each containing 500 paragraphs, that I scraped from Wikipedia. The program ...
BLH-Maxx's user avatar
-2 votes
3 answers
3k views

Generating a very long random string of letters

I was trying to fill a file with about ten million random characters (a-z,A-Z,' '). To my surprise the code is extremely slow. I inserted this print ...
tod's user avatar
  • 163