Problems with string.rjust()

emile at fenx.com emile at fenx.com
Sat May 20 00:34:32 EDT 2000


Are you trying one of these?

>>> "hello".rjust(10)
'     hello'
>>> import string    
>>> string.rjust("hello",10)
'     hello'
>>> 

Emile van Sebille
emile at fenx.com


Jones2lan <jones2lan at aol.com> wrote in message
news:<20000520003157.15888.00000338 at ng-fl1.aol.com>...
> it gives me an error every time i try to use the function rjust.
> it is a typeerror but no by me it says. the interpreter says it is in the 
> library? can this be right?
> -- 
> http://www.python.org/mailman/listinfo/python-list
>




More information about the Python-list mailing list