[Tutor] Poorly understood error involving class inheritance

David Perlman dperlman at wisc.edu
Fri Sep 11 00:48:49 CEST 2009


Yeah, this seems to be the best answer in this situation.  :)

On Sep 10, 2009, at 4:17 PM, Kent Johnson wrote:

> I would skip the cleverness of trying to subclass string. You can use
> str(z).rjust(20) as above, or use string formatting:
>  '%20s' % z

--
-dave----------------------------------------------------------------
Unfortunately, as soon as they graduate, our people return
to a world driven by a tool that is the antithesis of thinking:
PowerPoint. Make no mistake, PowerPoint is not a neutral tool —
it is actively hostile to thoughtful decision-making. It has
fundamentally changed our culture by altering the expectations
of who makes decisions, what decisions they make and how
they make them.  -Colonel T. X. Hammes, USMC



More information about the Tutor mailing list