Underscore/Camelcase insensitivity
Martijn Faassen
m.faassen at vet.uu.nl
Tue Feb 25 14:09:52 EST 2003
Alexander Schmolck <a.schmolck at gmx.net> wrote:
>>>> camelSplit('HTTPBaseHandler')
> ['HTTP', 'base', 'handler']
>
> # online cookbook recipe
>>>> cw2us('HTTPBaseHandler')
> 'http_base_handler'
>
> My code might be convoluted, but it certainly tries harder :)
Neat! I haven't dared trying to read your code yet though. :)
Regards,
Martijn
--
History of the 20th Century: WW1, WW2, WW3?
No, WWW -- Could we be going in the right direction?
More information about the Python-list
mailing list