Skip to content

rtaylor777/pythonutils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

pythonutils

Some handy python scripts

Google wasn't very helpful when determining how to combine two wordlists such that every word from
list 1 has every word from list 2 appended to create a new list that is list1 * list2 in size.

For example:
Word list 1
Jan
Feb
Mar
Word list 2
2017
2018
2019

Result
Jan2017
Jan2018
Jan2019
Feb2017
Feb2018
Feb2019
Mar2017
Mar2018
Mar2019

So I created a python script to do it.
See combine_lines.py
Usage:
./combine_lines.py file1 file2 > file3

About

Some handy python scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages