[Tutor] makeing '1' into a '01' neatly ?

Dave S pythontut at pusspaws.net
Thu Apr 29 16:59:53 EDT 2004


Magnus Lycka wrote:

>Dave wrote:
>  
>
>>zfill is cool, :-) Its not even in my learning python book !
>>    
>>
>
>Try
>
>  
>
>>>>help(str)
>>>>        
>>>>
>
>For text processing of all kinds, David Metz's book covers
>most that you might need.
>
>I'm surprised if this isn't in Learning Python. It's in Chris
>Fehily's "Python Visual Quickstart Guide". I think that's a
>rather good book, and so is his book on SQL. (They're also
>fairly cheap.)
>
>  
>
I may have to invest .. Im finding 'learning python' - o'reilly a bit 
heavy going in places

Dave



More information about the Tutor mailing list