Dennis,
> I was a touch bored in the last hour at work today so...
Thank you!!
Malcolm
--
http://mail.python.org/mailman/listinfo/python-list
Castironpi,
> Do you want send and throw in it too?
If its not too much trouble, I would love to see how you add these.
> formatter.NullFormatter.format_counter
> formatter.NullFormatter.format_letter
> formatter.NullFormatter.format_roman
I'm not sure what you mean by the above lines ... ...
Castironpi and Dennis,
WOW! Thank you very much for your examples!!!
I wasn't trolling for free development, just whether such a library
existed and/or design ideas (basic object or generator).
I had started to develop my own solution which was much more complicated
(re: ugly) than your 2 very e
On May 7, 9:07 am, [EMAIL PROTECTED] wrote:
> '''
> On May 6, 4:43 pm, [EMAIL PROTECTED] honoring:
>
> >>> a.next( )
> ( "I", )
> >>> a.throw( up )
> ( "I", "A" )
> >>> a.next( )
> ( "I", "B" )
> >>> a.next( )
> ( "I", "C" )
> >>> a.throw( down )
>
> ( "II", )
> '''
>
> #funny declaration
> class u
'''
On May 6, 4:43 pm, [EMAIL PROTECTED] honoring:
>>> a.next( )
( "I", )
>>> a.throw( up )
( "I", "A" )
>>> a.next( )
( "I", "B" )
>>> a.next( )
( "I", "C" )
>>> a.throw( down )
( "II", )
'''
#funny declaration
class up( Exception ): pass
class down( Exception ): pass
def outline( ):
stack=
On May 6, 4:43 pm, [EMAIL PROTECTED] wrote:
> I need to generate multi-level incrementing labels for an
> outline/hierarchy where the string for each level of a label is based on
> an incrementing sequence like 1, 2, 3 or A, B, C, or even I, II, III.
> For simplicity, assume that each level's label
I need to generate multi-level incrementing labels for an
outline/hierarchy where the string for each level of a label is based on
an incrementing sequence like 1, 2, 3 or A, B, C, or even I, II, III.
For simplicity, assume that each level's label segment is separated by a
period (".").
I will pas