[Tutor] Hmm...I should be able to figure this out...but... (original) (raw)
Kalle Svensson kalle at lysator.liu.se
Wed Jul 21 13:49:10 CEST 2004
- Previous message: [Tutor] Hmm...I should be able to figure this out...but...
- Next message: [Tutor] Hmm...I should be able to figure this out...but...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Dick Moores]
Sorry for what is surely a dumb question, but what is the ". in print ''.join(rstring). Can't find this anywhere in the Python docs.
'' is a string object (the empty string).
''.join is the method join of the string object.
''.join(rstring) is the join method of the string object called with rstring as an argument.
There's more about string methods in the documentation: http://python.org/doc/lib/string-methods.html
Peace, Kalle
http://juckapan.org/~kalle/ http://laxmasteriet.se/04-05/
- Previous message: [Tutor] Hmm...I should be able to figure this out...but...
- Next message: [Tutor] Hmm...I should be able to figure this out...but...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]