String MethodsComments
Examplet = ['Hello','World'] # Old string module s = string.join(t,":") # s = "Hello:World" # String method s = ":".join(t) # s = "Hello:World" The string module
|
<<< | O'Reilly OSCON 2001, New Features in Python 2, Slide 28 July 26, 2001, beazley@cs.uchicago.edu |
>>> |