Skip to content
Fast Python script to generate all possible permutations of a set of characters
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
permutations.py

README.md

Permutations

Fast Python script to generate all possible permutations of a set of characters, perfect for searching for short usernames or domains.

Put in a, b, c and a length of 2 and receive:

aa
ab
ac
ba
bb
bc
ca
cb
cc

Usage

Download the latest version of Python here.

Press the 'Download as ZIP' file above, or clone this repo in your favorite terminal using:

git clone https://github.com/bdnh/permutations.git

Open permutations.py with a text editor and change the variables from lines 23-29 to your desired preferences. Note: if the output file name does not already exist, it will be created. Do not use an existing text file or risk data loss.

Save the file once you're done, then cd to the enclosing folder. Then run:

python permutations.py

Need help using cd?

Enjoy!

You can’t perform that action at this time.