Home | Trees | Indices | Help |
|
---|
|
gen [-p PAD] [COUNT [START]]
Generate a sequence of COUNT
integers, starting at
START
. If START
is not specified, then the
sequence starts at 0. If no arguments are specified, then the sequence
starts at 0 and does not terminate.
-p
flag is specified, then the generated integers
are converted to strings and left padded so that each string contains
PAD
characters. len(str(COUNT + START))
must
not exceed PAD
.Functions | |||
|
Function Details |
count integers, starting at
start . If no arguments are provided then the sequence starts
at 0 and does not terminate. If pad is specified, and is an
integer, then the output values are strings, padded to the specified
length. The length of the generated strings must not exceed
pad .
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Sat Oct 6 12:15:11 2007 | http://epydoc.sourceforge.net |