Iteration over strings

Hexamorph hexamorph at gmx.net
Tue Jul 31 16:45:09 EDT 2007


Jay Loden schrieb:
> 
> I have to agree with you WRT to the Python documentation, it does tend to be lacking and difficult to find things at times. In this case the two ways I can think of to look for something like this would have been: 

Hmm, I find the Python documentation just excellent. You are 
searching for a *string* related problem? Then just check the 
*string* class. Also try the dir() function, like 
dir(some_string_variable)

If you come from a C++ background this should be familar to you. 
Check the appropriate class before trying some "procedural" way.

Anyway, glad we could help :)




More information about the Python-list mailing list