Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

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

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages