Skip to content

This will create a text file of specified line length and optional word list

Notifications You must be signed in to change notification settings

CalSimmon/RandomTextFileGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RandomWordFileGenerator.py

A simple generator that creates N number of files with L number of lines using random words to create long files for testing purposes. Can include a custom word list if sepcific words are required. Files will be output into a folder called Output.

1. Setup:

pip install -r requirements.txt

2. Parameters:

N - Number of text files to create, INT
L - Number of lines to add per file, INT
-w, --word-list - Optional, list of words that should be included, [[TEXT] [TEXT] ...]

3. Example:

python3 RandomWordFileGenerator.py 10 100 -w word1 word2 word3

About

This will create a text file of specified line length and optional word list

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages