Couple functions I need, assuming they exist?

Charles Krug cdkrug at worldnet.att.net
Mon Jun 20 11:04:19 EDT 2005


List:

First, I'm reading that aString.split() is depreciated.  What's the
current best practice for this?

Or am I mistaking that:

myWords = split(aString, aChar) 

is depreciated but

myWords = aString.split(aChgar)

is not?

Second question, I've written a script that generates a LaTeX source
containing randomly generated arithmetic problems of various types.

The target of the problems (my daughter) would prefer that the thousands
be delimited.  Is there a string function that does this?

Thanks


Charles




More information about the Python-list mailing list