On Thu, 2003-08-28 at 05:22, Steve Lamb wrote: > On Thu, 28 Aug 2003 05:09:03 -0500 > Ron Johnson <[EMAIL PROTECTED]> wrote: > > On Thu, 2003-08-28 at 02:04, Steve Lamb wrote: > > > On Thu, 28 Aug 2003 01:51:23 -0500 > > > Alex Malinovich <[EMAIL PROTECTED]> wrote: > > [snip] > > > Of course now step 1 has been replaced with "rewrite in Python". I > > > still > > > have Perl coursing through my veins though. The other day I caught myself > > > trying to upper(s) a string instead of string.upper(). The deciding day > > > that > > > There's an even quicker way, that's even OO: > > >>> import string > > >>> s = 'foo' > > >>> s.upper() > > 'FOO' > > Well, actually, as of 2.1 or so that isn't needed. All the methods from > string are already applicable to strings. Hence.. > > > > trying to upper(s) a string instead of string.upper(). The deciding day > ^^^^^^^^^^^^^^^ > > :)
I'm sorry, but I don't understand your comments. -- ----------------------------------------------------------------- Ron Johnson, Jr. [EMAIL PROTECTED] Jefferson, LA USA "My advice to you is to get married: If you find a good wife, you will be happy; if not, you will become a philosopher." Socrates -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]