print a ... z, A ... Z, "\n"' in Python
js
ebgssth at gmail.com
Sat Mar 3 04:45:28 EST 2007
> But note that you return the last item of the range too, and that goes
> against the semantic of the usual Python range/xrange, so you may want
> to call this function with another name.
That makes sense. 100% agree with you.
> Maybe there are better ways to solve this problem. Maybe a way to
> generate (closed?) char ranges can be added to the Python standard
> lib.
Maybe we don't want char range If string constants would be rich enough.
More information about the Python-list
mailing list