Python Forum
Generate a string of words for multiple lists of words in txt files in order.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Generate a string of words for multiple lists of words in txt files in order.
#1
Ok, so I want to make something that takes some text files with lists of words in them and outputs every combination of those words in order. For example:
If I had a txt file with the English dictionary, one with the names of the days and months, one with every number 1-99 and finally a list of symbols, I want the program to output a string of words in that order, ex: liveTuesday10@, wouldDecember7*, softNovember85#, etc etc. But it would only give words in that order (dictionary, day/month, number, symbol), not like 65Friday£hippo. Is it possible? If so please show me how.
Reply


Messages In This Thread
Generate a string of words for multiple lists of words in txt files in order. - by AnicraftPlayz - Aug-11-2021, 02:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Trying to generating multiple json files using python script dzgn989 4 393 May-10-2024, 03:09 PM
Last Post: deanhystad
  python convert multiple files to multiple lists MCL169 6 1,791 Nov-25-2023, 05:31 AM
Last Post: Iqratech
  find and group similar words with re? cartonics 4 878 Oct-27-2023, 05:36 PM
Last Post: deanhystad
  Function to count words in a list up to and including Sam Oldman45 15 7,023 Sep-08-2023, 01:10 PM
Last Post: Pedroski55
  Form that puts diacritics on the words in the text Melcu54 13 1,802 Aug-22-2023, 07:07 AM
Last Post: Pedroski55
  splitting file into multiple files by searching for string AlphaInc 2 1,083 Jul-01-2023, 10:35 PM
Last Post: Pedroski55
  docx insert words of previuos paragraph on next paragraph in the same position ctrldan 7 1,414 Jun-20-2023, 10:26 PM
Last Post: Pedroski55
  Pulling Specifics Words/Numbers from String bigpapa 2 872 May-01-2023, 07:22 PM
Last Post: bigpapa
  Generate lists of devices and partitions from /proc/partitions? DachshundDigital 1 850 Feb-28-2023, 10:55 PM
Last Post: deanhystad
  Merging multiple csv files with same X,Y,Z in each Auz_Pete 3 1,354 Feb-21-2023, 04:21 AM
Last Post: Auz_Pete

Forum Jump:

User Panel Messages

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