Skip to content

iserban/quick-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

quick-scripts

strgen.py

Help:

usage: strgen.py [-h] -l L [-n N] [-r]

optional arguments:
  -h, --help  show this help message and exit
  -l L        Length of desired strings. Required argument.
  -n N        Number of desired strings. Defaults to 1.
  -r          Use random alphanumeric characters. Defaults to false.

Examples

  • Generate a string of length 5
python strgen.py -l 5

aaaaa
  • Generate a random alphanumeric string of length 10
python strgen.py -r -l 10

gc0im7pmNy
  • Generate 5 random alphanumeric strings of length 7
python strgen.py -l 7 -n 5 -r

0v6HPVR
hestHHr
WoLFGs3
LVOtZkV
vDSwJqE

About

Quick scripts used for testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages